Grav: Customizing what Markdown syntax is converted into...

Created on 7 Mar 2018  路  3Comments  路  Source: getgrav/grav

As an example, would it be possible to edit what a header converts to?

# Header
Converts to:

<h1>Header</h1>

But since I'm currently using the Bulma CSS framework, I need it to convert to the following:

<h1 class="title is-1">Header</h1>

Possible?

question

All 3 comments

What about # header {.title .is-1}?

That requires markdown extra, and frankly that's a bit flakey.

Hmmm. Not optimal but I appreciate your answers.

Was this page helpful?
0 / 5 - 0 ratings