mirror of
https://github.com/fmhy/edit.git
synced 2025-08-02 17:22:14 +10:00
Better icons
This commit is contained in:
parent
19bd93549f
commit
19e47cbf7d
1 changed files with 2 additions and 2 deletions
|
@ -319,13 +319,13 @@ const transformLinks = (text: string): string =>
|
||||||
name: 'Windows',
|
name: 'Windows',
|
||||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Windows,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Windows,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||||
replace:
|
replace:
|
||||||
' <div alt="Windows" class="i-qlementine-icons:windows-fill-16" /> '
|
' <div alt="Windows" class="i-qlementine-icons:windows-24" /> '
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Mac',
|
name: 'Mac',
|
||||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Mac,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Mac,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||||
replace:
|
replace:
|
||||||
' <div alt="Mac" class="i-qlementine-icons:mac-24" /> '
|
' <div alt="Mac" class="i-qlementine-icons:mac-fill-16" /> '
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Linux',
|
name: 'Linux',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue