querkmachine / beeps.website

My personal interweb site where I really just put whatever I want.
https://beeps.website
MIT License
4 stars 0 forks source link

Modify Markdown parser to inject classes automatically #55

Closed querkmachine closed 5 months ago

querkmachine commented 5 months ago

Modifies the Markdown parser so that the appropriate class names are added to the elements on build time. This means we can use the styles directly, instead of using a prose component to 'translate' the classes onto raw elements.

Heavily based on markdown-it-govuk.

Changes