mirror of
https://github.com/fmhy/edit.git
synced 2025-08-01 00:32:30 +10:00
Update
- Labelled PowerShell platforms. - Updated regex. - Fixed an edge case.
This commit is contained in:
parent
19e47cbf7d
commit
d1c18a572e
3 changed files with 7 additions and 7 deletions
|
@ -317,31 +317,31 @@ const transformLinks = (text: string): string =>
|
|||
// Platform indicators
|
||||
{
|
||||
name: 'Windows',
|
||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Windows,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||
find: /(?<=\/ (?:\/>|[^/])*)((,\s*)?Windows,?\s*)(?=(?:\/>|[^/])* \/)/gm,
|
||||
replace:
|
||||
' <div alt="Windows" class="i-qlementine-icons:windows-24" /> '
|
||||
},
|
||||
{
|
||||
name: 'Mac',
|
||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Mac,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||
find: /(?<=\/ (?:\/>|[^/])*)((,\s*)?Mac,?\s*)(?=(?:\/>|[^/])* \/)/gm,
|
||||
replace:
|
||||
' <div alt="Mac" class="i-qlementine-icons:mac-fill-16" /> '
|
||||
},
|
||||
{
|
||||
name: 'Linux',
|
||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Linux,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||
find: /(?<=\/ (?:\/>|[^/])*)((,\s*)?Linux,?\s*)(?=(?:\/>|[^/])* \/)/gm,
|
||||
replace:
|
||||
' <div alt="Linux" class="i-fluent-mdl2:linux-logo-32" /> '
|
||||
},
|
||||
{
|
||||
name: 'Android',
|
||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?Android,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||
find: /(?<=\/ (?:\/>|[^/])*)((,\s*)?Android,?\s*)(?=(?:\/>|[^/])* \/)/gm,
|
||||
replace:
|
||||
' <div alt="Android" class="i-material-symbols:android" /> '
|
||||
},
|
||||
{
|
||||
name: 'iOS',
|
||||
find: /(?<=\/ (?:\/>|[^/])*)(\b(,\s*)?iOS,?\s*\b)(?=(?:\/>|[^/])* \/)/gm,
|
||||
find: /(?<=\/ (?:\/>|[^/])*)((,\s*)?iOS,?\s*)(?=(?:\/>|[^/])* \/)/gm,
|
||||
replace:
|
||||
' <div alt="iOS" class="i-simple-icons:ios" /> '
|
||||
}
|
||||
|
|
|
@ -348,7 +348,7 @@
|
|||
|
||||
* 🌐 **[Android ROM Comparisons](https://eylenburg.github.io/android_comparison.htm)** or [Android ROM List](https://github.com/musabcel/android_rom_list)
|
||||
* ⭐ **[CustomRomBay](https://customrombay.org/)** - ROMs Compatibility Search
|
||||
* ⭐ **[GrapheneOS](https://grapheneos.org/)** - Security / Privacy Hardened Android / [Discord](https://discord.com/invite/grapheneos) / [Telegram](https://t.me/GrapheneOS)
|
||||
* ⭐ **[GrapheneOS](https://grapheneos.org/)** - Security & Privacy Hardened Android / [Discord](https://discord.com/invite/grapheneos) / [Telegram](https://t.me/GrapheneOS)
|
||||
* [CalyxOS](https://calyxos.org/) - Privacy-Focused OS
|
||||
* [LineageOS](https://www.lineageos.org/) - Privacy-Focused OS / [Discord](https://discord.gg/gD6DMtf) / [MicroG](https://lineage.microg.org/)
|
||||
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
* 🌐 **[Awesome CLI Apps](https://github.com/agarrharr/awesome-cli-apps)** or [Command Line Tools](https://github.com/learn-anything/command-line-tools) - Command Line Resources
|
||||
* ⭐ **[ss64](https://ss64.com/)** - Command Line Reference Index
|
||||
* [Windows Terminal](https://www.microsoft.com/store/productId/9N0DX20HK701) / [2](https://github.com/microsoft/terminal/), [ConEmu](https://github.com/Maximus5/ConEmu), [Hyper](https://hyper.is/), [Tabby](https://tabby.sh/), [MobaXterm](https://mobaxterm.mobatek.net/) or [WezTerm](https://wezfurlong.org/wezterm/) - Windows Terminal Emulators
|
||||
* [PowerShell](https://github.com/powershell/powershell) - Microsoft PowerShell / Windows, Mac, Linux /
|
||||
* [BusyBox](https://frippery.org/busybox/) - Unix Commands for Windows
|
||||
* [Clink](https://github.com/chrisant996/clink) - Command Line Editing
|
||||
* [Nushell](https://www.nushell.sh/) - Alt Shell
|
||||
|
@ -113,7 +114,6 @@
|
|||
* [Command Challenge](https://cmdchallenge.com/) - Command Line Learning
|
||||
* [Mintty](https://mintty.github.io/) - Cygwin Terminal Emulator
|
||||
* [GetDNote](https://www.getdnote.com/) - Command Line Notebook
|
||||
* [PowerShell](https://github.com/powershell/powershell) - Windows / macOS / Linux PowerShell
|
||||
* [LeanandMean](https://github.com/AveYo/LeanAndMean) - Powershell Snippets / Use with Caution
|
||||
* [PowerShell Scripts](https://github.com/fleschutz/PowerShell) or [WindowsPowerShell](https://github.com/stevencohn/WindowsPowerShell) - Alt Shell Scripts
|
||||
* [Starship](https://starship.rs/) - Cross-Shell Prompt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue