Closed querkmachine closed 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.
3/4
~=
>=
<=
1024x768
light-green
kimProse
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
3/4
becomes ¾)~=
into ≈ because I use that symbol an awful lot actually>=
and<=
into ≥ and ≤1024x768
becomes 1024×768)light-green
colour so that it provides stronger contrast against white.kimProse
in templates.