re: README.md as a Personal Site VIEW POST

FULL DISCUSSION
 

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:

{:.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.

code of conduct - report abuse