shime / livedown

Live Markdown previews for your favorite editor.
MIT License
765 stars 45 forks source link

Using the backtick syntax results in wrong Markdown rendering #4

Closed amontalenti closed 9 years ago

amontalenti commented 9 years ago

If you use the simple in-line backtick format, e.g. some_function(your_data), it does not render as in-line code in the livedown CSS sheet. See this example screenshot:

livedown_css_bug

I suspect this is because it's being converted into a <code> element which is always being set on its own lines and such.