I have been looking for sth similar for simple and easy to maintain website. I am not sure if it is possible to add custom class name into Markdown file and render into html? That would be great to apply styling to specific area.
I'm not sure if I'm answering your question correctly, but each markdown output will be within an <article class="markdown-body"> which you can then add any style that you wish. Since cli allows you to add a custom css which will be inserted after the GFM style.
If instead you're referring to adding something like:
{:.nameofclass}
paragraph is here
I'm not sure if markdown-it (the markdown parser I'm using) would support it. Feel free to add an issue to discuss further.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have been looking for sth similar for simple and easy to maintain website. I am not sure if it is possible to add custom class name into Markdown file and render into html? That would be great to apply styling to specific area.
Hi Rattanak,
I'm not sure if I'm answering your question correctly, but each markdown output will be within an
<article class="markdown-body">
which you can then add any style that you wish. Since cli allows you to add a custom css which will be inserted after the GFM style.If instead you're referring to adding something like:
I'm not sure if
markdown-it
(the markdown parser I'm using) would support it. Feel free to add an issue to discuss further.