mirror of
https://github.com/fmhy/edit.git
synced 2025-08-03 01:32:13 +10:00
First preview of platform indicators
This commit is contained in:
parent
8ad0cd2b6e
commit
92591f803d
4 changed files with 92 additions and 28 deletions
|
@ -313,6 +313,37 @@ const transformLinks = (text: string): string =>
|
|||
find: /\[.onion\]\(([^\)]*?)\)/gm,
|
||||
replace:
|
||||
'<a target="_blank" href="$1"><div alt=".onion" class="i-simple-icons:torbrowser w-1em h-1em" /></a>'
|
||||
},
|
||||
// Platform indicators
|
||||
{
|
||||
name: 'Windows',
|
||||
find: /(?<=\/ [^/]*)\b(,\s*)?Windows,?\s*\b(?=[^/]* \/)/gm,
|
||||
replace:
|
||||
' <img class="i-qlementine-icons:windows-fill-16"> '
|
||||
},
|
||||
{
|
||||
name: 'Mac',
|
||||
find: /(?<=\/ [^/]*)\b(,\s*)?Mac,?\s*\b(?=[^/]* \/)/gm,
|
||||
replace:
|
||||
' <img class="i-qlementine-icons:mac-24"> '
|
||||
},
|
||||
{
|
||||
name: 'Linux',
|
||||
find: /(?<=\/ [^/]*)\b(,\s*)?Linux,?\s*\b(?=[^/]* \/)/gm,
|
||||
replace:
|
||||
' <img class="i-ant-design:linux-outlined"> '
|
||||
},
|
||||
{
|
||||
name: 'Android',
|
||||
find: /(?<=\/ [^/]*)\b(,\s*)?Android,?\s*\b(?=[^/]* \/)/gm,
|
||||
replace:
|
||||
' <img class="i-material-symbols:android"> '
|
||||
},
|
||||
{
|
||||
name: 'iOS',
|
||||
find: /(?<=\/ [^/]*)\b(,\s*)?iOS,?\s*\b(?=[^/]* \/)/gm,
|
||||
replace:
|
||||
' <img class="i-simple-icons:ios"> '
|
||||
}
|
||||
])
|
||||
.getText()
|
||||
|
|
|
@ -244,34 +244,34 @@
|
|||
* ↪️ **[Browser Ebook Readers](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/storage#wiki_browser_ebook_readers)**
|
||||
* ↪️ **[Android](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/android#wiki_.25BA_android_reading) / [iOS](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/android#wiki_.25BA_ios_reading)** - Mobile Ebook Readers
|
||||
* ⭐ **[Google Play Books](https://play.google.com/books)** - Manage Books / Auto Metadata
|
||||
* ⭐ **[Foxit](https://www.foxit.com/pdf-reader/)** - PDF Reader / PC / Android / iOS / Linux / Mac / [Pro](https://rentry.co/FMHYBase64#foxit) / [Warning](https://github.com/fmhy/FMHY/wiki/FMHY%E2%80%90Notes.md#foxit-warning)
|
||||
* ⭐ **[Koodo](https://www.koodoreader.com/)** - Ebook Reader / PC / Mac / Linux / [GitHub](https://github.com/koodo-reader/koodo-reader)
|
||||
* ⭐ **[SumatraPDFReader](https://www.sumatrapdfreader.org/free-pdf-reader)** - Ebook Reader / PDF / PC
|
||||
* ⭐ **[Calibre](https://calibre-ebook.com/)** - Ebook Reader / PC
|
||||
* ⭐ **[Foxit](https://www.foxit.com/pdf-reader/)** - PDF Reader / Windows, Mac, Linux, Android, iOS / [Pro](https://rentry.co/FMHYBase64#foxit) / [Warning](https://github.com/fmhy/FMHY/wiki/FMHY%E2%80%90Notes.md#foxit-warning)
|
||||
* ⭐ **[Koodo](https://www.koodoreader.com/)** - Ebook Reader / Windows, Mac, Linux / [GitHub](https://github.com/koodo-reader/koodo-reader)
|
||||
* ⭐ **[SumatraPDFReader](https://www.sumatrapdfreader.org/free-pdf-reader)** - Ebook & PDF Reader / Windows /
|
||||
* ⭐ **[Calibre](https://calibre-ebook.com/)** - Ebook Reader / Windows /
|
||||
* ⭐ **[EinkBro](https://github.com/plateaukao/einkbro)** - E-Ink Browser
|
||||
* [ComparisonTabl.es](https://comparisontabl.es/) - Compare E-Readers
|
||||
* [Postlight](https://reader.postlight.com/), [Reader Mode](https://readermode.io/) or [Tranquility](https://addons.mozilla.org/en-GB/firefox/addon/tranquility-1/) - Article Readers / Managers
|
||||
* [EBook Reader](https://epub-reader.online/) - Ebook Reader / PC / Android / iOS / Mac
|
||||
* [Readest](https://readest.com/) - Ebook Reader / PC / Linux / Mac / Android / iOS / [GitHub](https://github.com/readest/readest)
|
||||
* [KoReader](https://koreader.rocks/) - Ebook Reader / PC / Android / [GitHub](https://github.com/koreader/koreader)
|
||||
* [Jane Reader](https://janereader.com/) - Ebook Reader / PC / Mac
|
||||
* [FBReader](https://fbreader.org/) - Ebook Reader / PC / Android / iOS
|
||||
* [Alexandria](https://github.com/btpf/Alexandria) - PC / Linux / Mac
|
||||
* [Librum](https://librumreader.com) - Ebook Reader / PC / Linux / Mac / [GitHub](https://github.com/Librum-Reader/Librum)
|
||||
* [Thorium](https://thorium.edrlab.org/) - Ebook Reader / PC / Mac / Linux
|
||||
* [Okular](https://okular.kde.org/) - PDF / Linux / PC / Mac
|
||||
* [Aquile Reader](https://apps.microsoft.com/detail/9p08t4jltqnk) - Ebook Reader / PC
|
||||
* [Icecream Reader](https://icecreamapps.com/Ebook-Reader/) - Ebook Reader / PC
|
||||
* [Foliate](https://johnfactotum.github.io/foliate/) - Ebook Reader / Linux
|
||||
* [qPDFview](https://launchpad.net/qpdfview) - PDF / PC
|
||||
* [mupdf](https://mupdf.com/) - PDF / PC / Linux / Android
|
||||
* [EBook Reader](https://epub-reader.online/) - Ebook Reader / Windows, Mac, Android, iOS /
|
||||
* [Readest](https://readest.com/) - Ebook Reader / Windows, Mac, Linux, Android, iOS / [GitHub](https://github.com/readest/readest)
|
||||
* [KoReader](https://koreader.rocks/) - Ebook Reader / Windows, Android / [GitHub](https://github.com/koreader/koreader)
|
||||
* [Jane Reader](https://janereader.com/) - Ebook Reader / Windows, Mac /
|
||||
* [FBReader](https://fbreader.org/) - Ebook Reader / Windows, Android, iOS /
|
||||
* [Alexandria](https://github.com/btpf/Alexandria) - Ebook Reader / Windows, Mac, Linux /
|
||||
* [Librum](https://librumreader.com) - Ebook Reader / Windows, Mac, Linux / [GitHub](https://github.com/Librum-Reader/Librum)
|
||||
* [Thorium](https://thorium.edrlab.org/) - Ebook Reader / Windows, Mac, Linux /
|
||||
* [Okular](https://okular.kde.org/) - PDF / Windows, Mac, Linux /
|
||||
* [Aquile Reader](https://apps.microsoft.com/detail/9p08t4jltqnk) - Ebook Reader / Windows /
|
||||
* [Icecream Reader](https://icecreamapps.com/Ebook-Reader/) - Ebook Reader / Windows /
|
||||
* [Foliate](https://johnfactotum.github.io/foliate/) - Ebook Reader / Linux /
|
||||
* [qPDFview](https://launchpad.net/qpdfview) - PDF / Windows /
|
||||
* [mupdf](https://mupdf.com/) - PDF / Windows, Linux, Android /
|
||||
* [Evince](https://apps.gnome.org/Evince/) - PDF / DjVu Reader / Linux / [GitLab](https://gitlab.gnome.org/GNOME/evince)
|
||||
* [Sioyek](https://sioyek.info/) - PDF / PC / Mac / Linux
|
||||
* [Yomu](https://www.yomu-reader.com/) - Ebook Reader / iOS / Mac
|
||||
* [FBReader](https://apps.apple.com/app/fbreader-epub-and-fb2-reader/id1067172178) - Ebook Reader / iOS / Mac
|
||||
* [FF PDF](https://github.com/sdushantha/ff-pdf/) - PDF / Linux
|
||||
* [WinDjView](https://windjview.sourceforge.io/) - DjVu Reader / PC
|
||||
* [DjVuLibr](https://djvu.sourceforge.net/) - DjVu Reader / PC
|
||||
* [Sioyek](https://sioyek.info/) - PDF / Windows, Mac, Linux /
|
||||
* [Yomu](https://www.yomu-reader.com/) - Ebook Reader / Mac, iOS /
|
||||
* [FBReader](https://apps.apple.com/app/fbreader-epub-and-fb2-reader/id1067172178) - Ebook Reader / Mac, iOS /
|
||||
* [FF PDF](https://github.com/sdushantha/ff-pdf/) - PDF / Linux /
|
||||
* [WinDjView](https://windjview.sourceforge.io/) - DjVu Reader / Windows /
|
||||
* [DjVuLibr](https://djvu.sourceforge.net/) - DjVu Reader / Windows /
|
||||
* [bookworm](https://github.com/babluboy/bookworm) - Elementary OS Ebook Reader
|
||||
* [AnyFlip](https://anyflip.com/) - Interactive Flipbook Reader
|
||||
* [All My Books](https://www.bolidesoft.com/allmybooks.html) - Book Catalog
|
||||
|
|
|
@ -42,12 +42,15 @@
|
|||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^4.20241230.0",
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
|
||||
"@iconify-json/ant-design": "^1.2.5",
|
||||
"@iconify-json/carbon": "^1.2.5",
|
||||
"@iconify-json/gravity-ui": "^1.2.5",
|
||||
"@iconify-json/heroicons-solid": "^1.2.0",
|
||||
"@iconify-json/lucide": "^1.2.10",
|
||||
"@iconify-json/material-symbols": "^1.2.22",
|
||||
"@iconify-json/mdi": "^1.2.1",
|
||||
"@iconify-json/ph": "^1.2.2",
|
||||
"@iconify-json/qlementine-icons": "^1.2.6",
|
||||
"@iconify-json/simple-icons": "^1.2.12",
|
||||
"@iconify-json/twemoji": "^1.2.1",
|
||||
"@iconify/utils": "^2.3.0",
|
||||
|
|
30
pnpm-lock.yaml
generated
30
pnpm-lock.yaml
generated
|
@ -69,6 +69,9 @@ importers:
|
|||
'@ianvs/prettier-plugin-sort-imports':
|
||||
specifier: ^4.3.1
|
||||
version: 4.3.1(@vue/compiler-sfc@3.5.13)(prettier@3.5.3)
|
||||
'@iconify-json/ant-design':
|
||||
specifier: ^1.2.5
|
||||
version: 1.2.5
|
||||
'@iconify-json/carbon':
|
||||
specifier: ^1.2.5
|
||||
version: 1.2.5
|
||||
|
@ -81,12 +84,18 @@ importers:
|
|||
'@iconify-json/lucide':
|
||||
specifier: ^1.2.10
|
||||
version: 1.2.10
|
||||
'@iconify-json/material-symbols':
|
||||
specifier: ^1.2.22
|
||||
version: 1.2.22
|
||||
'@iconify-json/mdi':
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
'@iconify-json/ph':
|
||||
specifier: ^1.2.2
|
||||
version: 1.2.2
|
||||
'@iconify-json/qlementine-icons':
|
||||
specifier: ^1.2.6
|
||||
version: 1.2.6
|
||||
'@iconify-json/simple-icons':
|
||||
specifier: ^1.2.12
|
||||
version: 1.2.12
|
||||
|
@ -1021,6 +1030,9 @@ packages:
|
|||
'@vue/compiler-sfc':
|
||||
optional: true
|
||||
|
||||
'@iconify-json/ant-design@1.2.5':
|
||||
resolution: {integrity: sha512-SYxhrx1AFq2MBcXk77AERYz2mPhLQes1F0vtvG64+dJZWyge9studXo7MiR8PPeLjRjZdWRrReRbxiwdRMf70Q==}
|
||||
|
||||
'@iconify-json/carbon@1.2.5':
|
||||
resolution: {integrity: sha512-aI3TEzOrUDGhs74zIT3ym/ZQBUEziyu8JifntX2Hb4siVzsP5sQ/QEfVdmcCUj37kQUYT3TYBSeAw2vTfCJx9w==}
|
||||
|
||||
|
@ -1033,12 +1045,18 @@ packages:
|
|||
'@iconify-json/lucide@1.2.10':
|
||||
resolution: {integrity: sha512-cR1xpRJ4dnoXlC0ShDjzbrZyu+ICH4OUaYl7S51MhZUO1H040s7asVqv0LsDbofSLDuzWkHCLsBabTTRL0mCUg==}
|
||||
|
||||
'@iconify-json/material-symbols@1.2.22':
|
||||
resolution: {integrity: sha512-raleOIRt8iPtwAkDzmw/c5zb06nIaicsYs5bZ3yfRjBxuYT/UYNa2ZFQQMl3uuTTiZuUXwFa1M8PJW3CFRAN0w==}
|
||||
|
||||
'@iconify-json/mdi@1.2.1':
|
||||
resolution: {integrity: sha512-dSkQU78gsZV6Yxnq78+LuX7jzeFC/5NAmz7O3rh558GimGFcwMVY/OtqRowIzjqJBmMmWZft7wkFV4TrwRXjlg==}
|
||||
|
||||
'@iconify-json/ph@1.2.2':
|
||||
resolution: {integrity: sha512-PgkEZNtqa8hBGjHXQa4pMwZa93hmfu8FUSjs/nv4oUU6yLsgv+gh9nu28Kqi8Fz9CCVu4hj1MZs9/60J57IzFw==}
|
||||
|
||||
'@iconify-json/qlementine-icons@1.2.6':
|
||||
resolution: {integrity: sha512-jUKUGXrXXjUw7rVBEzCeKco9gq03yRGmhxVP9n1A3YyCRWOmxoxotXDAgQIdeHJNvD8TyO0tu2LrS1oLtQ+doA==}
|
||||
|
||||
'@iconify-json/simple-icons@1.2.12':
|
||||
resolution: {integrity: sha512-lRNORrIdeLStShxAjN6FgXE1iMkaAgiAHZdP0P0GZecX91FVYW58uZnRSlXLlSx5cxMoELulkAAixybPA2g52g==}
|
||||
|
||||
|
@ -4799,6 +4817,10 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@iconify-json/ant-design@1.2.5':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify-json/carbon@1.2.5':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
@ -4815,6 +4837,10 @@ snapshots:
|
|||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify-json/material-symbols@1.2.22':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify-json/mdi@1.2.1':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
@ -4823,6 +4849,10 @@ snapshots:
|
|||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify-json/qlementine-icons@1.2.6':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify-json/simple-icons@1.2.12':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue