Added bold-italic-strikethrough (#10030)

This commit is contained in:
AdRiley 2024-05-22 12:56:37 +03:00 committed by GitHub
parent 1e0649fda1
commit 202a05011b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,10 @@
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 2C10 2.02997 9.99934 2.05979 9.99804 2.08944C11.7151 2.46727 13 3.9978 13 5.82843V6.64298C13 8.15215 13.5995 9.59952 14.6667 10.6667C14.8801 10.8801 15 11.1696 15 11.4714V12C15 12.5523 14.5523 13 14 13H2C1.44772 13 1 12.5523 1 12V11.4714C1 11.1696 1.1199 10.8801 1.33333 10.6667C2.40048 9.59952 3 8.15215 3 6.64298V5.82843C3 3.9978 4.28486 2.46727 6.00196 2.08944C6.00066 2.05979 6 2.02997 6 2C6 0.895431 6.89543 0 8 0C9.10457 0 10 0.895431 10 2ZM9.84776 14.7654C9.94827 14.5227 10 14.2626 10 14H8H6C6 14.2626 6.05173 14.5227 6.15224 14.7654C6.25275 15.008 6.40007 15.2285 6.58579 15.4142C6.7715 15.5999 6.99198 15.7472 7.23463 15.8478C7.47728 15.9483 7.73736 16 8 16C8.26264 16 8.52272 15.9483 8.76537 15.8478C9.00802 15.7472 9.2285 15.5999 9.41421 15.4142C9.59993 15.2285 9.74725 15.008 9.84776 14.7654Z" fill="currentColor"></path>
</symbol>
<symbol id="bold" viewBox="0 0 16 16" width="16" height="16" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.33333 3.33333C3.33333 2.59695 3.93028 2 4.66666 2H8.55555C10.5798 2 12.1111 3.70367 12.1111 5.66667C12.1111 6.38875 11.9039 7.07574 11.5412 7.65575C12.2407 8.3349 12.6667 9.29805 12.6667 10.3333C12.6667 12.2963 11.1353 14 9.11111 14H4.66666C3.93028 14 3.33333 13.403 3.33333 12.6667V3.33333ZM8.55555 6.66667C8.98592 6.66667 9.44444 6.281 9.44444 5.66667C9.44444 5.05233 8.98592 4.66667 8.55555 4.66667H5.99999V6.66667H8.55555ZM5.99999 9.33333H9.11111C9.54147 9.33333 10 9.719 10 10.3333C10 10.9477 9.54147 11.3333 9.11111 11.3333H5.99999V9.33333Z" fill="currentColor"></path>
</symbol>
<symbol id="bookmark" viewBox="0 0 16 16" width="16" height="16" fill="none">
<path d="M1 2C1 0.895431 1.89543 0 3 0H13C14.1046 0 15 0.895431 15 2V16L8 11L1 16V2Z" fill="currentColor"></path>
</symbol>
@ -430,6 +434,10 @@
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0H10 12 14V2H12V14H14V16H12 10 8V14H10V2H8V0ZM6.49999 5H4.49999 3.49999V6 7 7.5 8H4.74999V7.99907C4.93517 7.99907 5.11749 8.03966 5.2808 8.11726 5.44412 8.19485 5.58338 8.30705 5.68626 8.44391 5.78914 8.58077 5.85246 8.73808 5.87061 8.90189 5.88876 9.0657 5.86119 9.23097 5.79032 9.38304 5.71946 9.53512 5.60749 9.66931 5.46434 9.77373 5.3212 9.87816 5.15129 9.94959 4.96967 9.9817 4.78805 10.0138 4.60032 10.0056 4.42311 9.95783 4.24591 9.91005 4.08469 9.82416 3.95375 9.70777L3.159 10.4142C3.42064 10.6468 3.74276 10.8184 4.09685 10.9139 4.45093 11.0094 4.82604 11.0257 5.18894 10.9616 5.55185 10.8974 5.89135 10.7547 6.17737 10.546 6.4634 10.3374 6.68712 10.0692 6.82872 9.76537 6.97031 9.4615 7.02542 9.13128 6.98915 8.80397 6.95288 8.47665 6.82636 8.16233 6.62079 7.88886 6.41522 7.61539 6.13695 7.3912 5.81063 7.23616 5.48431 7.08111 5.12 7 4.74999 7H4.49999V6H6.49999V5Z" fill="currentColor"></path>
</symbol>
<symbol id="italic" viewBox="0 0 16 16" width="16" height="16" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 2.66667C6 2.29848 6.29848 2 6.66667 2H12.6667C13.0349 2 13.3333 2.29848 13.3333 2.66667C13.3333 3.03486 13.0349 3.33333 12.6667 3.33333H10.1568L7.24013 12.6667H9.33334C9.70153 12.6667 10 12.9651 10 13.3333C10 13.7015 9.70153 14 9.33334 14H3.33334C2.96515 14 2.66667 13.7015 2.66667 13.3333C2.66667 12.9651 2.96515 12.6667 3.33334 12.6667H5.84321L8.75988 3.33333H6.66667C6.29848 3.33333 6 3.03486 6 2.66667Z" fill="currentColor"></path>
</symbol>
<symbol id="join" viewBox="0 0 16 16" width="16" height="16" fill="none">
<circle opacity="0.7" cx="5.5" cy="7.5" r="5.5" fill="currentColor"></circle>
<circle opacity="0.7" cx="10.5" cy="7.5" r="5.5" fill="currentColor"></circle>
@ -829,6 +837,10 @@
<path d="M8 0L10.1019 5.10696L15.6085 5.52786L11.401 9.10504L12.7023 14.4721L8 11.576L3.29772 14.4721L4.59902 9.10504L0.391548 5.52786L5.89808 5.10696L8 0Z" fill="#FA951F"></path>
</symbol>
<symbol id="strike-through" viewBox="0 0 16 16" width="16" height="16" fill="none">
<path d="M4.69175 2.55729C5.41696 1.8216 6.51315 1.33334 7.99986 1.33334 9.55614 1.33334 10.5999 1.87011 11.2725 2.58261 11.9259 3.27471 12.1745 4.0741 12.2695 4.53085L12.4053 5.18353 11.1 5.45519 10.9641 4.80251C10.8965 4.47767 10.7238 3.94373 10.303 3.49788 9.90136 3.07245 9.218 2.66668 7.99986 2.66668 6.8199 2.66668 6.08276 3.04547 5.6413 3.49331 5.18804 3.95312 4.99986 4.53182 4.99986 5.00001 4.99986 5.39022 5.0896 5.6739 5.22448 5.89483 5.3621 6.12027 5.5696 6.31748 5.85727 6.49647 6.44126 6.85985 7.24094 7.08491 8.17063 7.33334H14.6667V8.66668H1.33334V7.33334H4.73993C4.4895 7.12683 4.26519 6.88237 4.08644 6.58956 3.81116 6.13862 3.66653 5.6098 3.66653 5.00001 3.66653 4.2023 3.97835 3.281 4.69175 2.55729ZM10.8711 10H12.3502C12.449 10.3053 12.4999 10.6384 12.4999 11 12.4999 12.668 10.9999 14.6667 7.99986 14.6667 6.44439 14.6667 5.36366 14.1316 4.63778 13.4436 3.9276 12.7706 3.59623 11.9895 3.4515 11.5361L3.24877 10.901 4.51895 10.4955 4.72169 11.1306C4.82646 11.4588 5.06451 12.011 5.55498 12.4759 6.02976 12.9259 6.78091 13.3333 7.99986 13.3333 10.3331 13.3333 11.1665 11.8639 11.1665 11 11.1665 10.6098 11.0768 10.3261 10.9419 10.1052 10.9201 10.0694 10.8965 10.0344 10.8711 10Z" fill="currentColor"></path>
</symbol>
<symbol id="system" viewBox="0 0 16 16" width="16" height="16" fill="none">
<path d="M2.66668 2.66667H13.3333V10.6667H2.66668V2.66667ZM1.33334 10.6667H14.6667V13.3333H1.33334V10.6667Z" stroke="currentColor" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"></path>
</symbol>

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 126 KiB