Skip to content

How to customize markdown #48

Answered by daveaglick
JoshClose asked this question in Q&A
Discussion options

You must be logged in to vote

Absolutely - Statiq uses the amazing Markdig renderer which includes support for a bunch of extensions. By default the "advanced" set of extensions is used, which includes generic attributes.

More specifically, to add a class to a paragraph you can do something like:

...

{.my-class}
This is a paragraph with the `.my-class` class on the `<p>` element.

...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JoshClose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants