mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 18:06:07 +01:00
This standardises all my markdown files to have no leading newline after the `---` that ends the frontmatter. This makes display on Gemini (in which newlines matter) much more consistent! I can't spot any errors with the regex I used here, but there may be one or two articles that change shape — hopefully I can spot them and fix them!
10 lines
545 B
Markdown
10 lines
545 B
Markdown
---
|
|
date: 2024-02-22T08:13:10.058Z
|
|
publishDate: 2024-02-22T08:13:10.058Z
|
|
---
|
|
Using [Mona](https://apps.apple.com/gb/app/mona-for-mastodon/id1659154653?uo=4) for mac & want to redirect web links? This kludge may work for you!
|
|
|
|
1. Install [Redirector](https://chromewebstore.google.com/detail/redirector/pajiegeliagebegjdhebejdlknciafen)
|
|
2. Redirect `^https://<your instance>/@([^/@] )@([^/@] )(/. )?$` to `mona://$2/@$1$3`
|
|
3. Redirect `^https://([^/] )/@([^/@] )(/. )?$` to `mona://$1/@$2$3`
|
|
4. Hope no-one else uses 'at' symbols like this? 😬
|