picosh / pico

hacker labs - open source and managed web services leveraging SSH
https://pico.sh
MIT License
741 stars 25 forks source link

mdparser: implicitly capture hashtags in document #95

Closed CosmicToast closed 3 months ago

CosmicToast commented 4 months ago

When they're found, they will be rendered as so: <span class="hashtag">...</span>.

They are ignored in the following:

This list can be expanded.

We then collect all of the matching hashtags and provide them as metadata, but only if there is no explicit frontmatter for them. So a workaround for undesirable hashtag detection is to use front-matter to specify tags: [] or similar.

CosmicToast commented 4 months ago

TBR after ast-funcs is merged.