I've been searching for a way to add custom styles to my markdown pages. I've been able to add "extra_css" to the yml file, but that seems to only affect the generated html. For example, I was able to add a custom style for images that causes ALL items to be centered.
I know there is a way to add attributes using something along the lines of
{: #someid .someclass somekey='some value' }
So this is a two part question:
- Where do I create the styles? In my custom css file declared in the yml?
Example:
extra_css:
-custom.css
- How to I reference (apply) them inline in my markdown?