I'm using pandoc to convert some markdown documents to .html via a custom css file.
Everything is working except one thing. From what I understand the text in backticks ``
should be white space significant, since it is usually code inside. In my case, it is not - in other words, it just looks like ordinary other text.
I'm interested in where is that regulated in pandoc, or in a custom css file - what css attribute regulates whether the white space should be significant?
Pandoc will put text between backticks inside HTML <code>
tags. Leading and trailing whitespace are ignored (as in Markdown.pl), but internal spaces are preserved. Newlines are treated as spaces. Check the HTML source to make sure you have the <code>
tags. If you don't, then there is probably a problem with your markdown source. Also check to make sure you're not linking to CSS that overrides the default settings for <code>
tags.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With