Markdown inline code works in editor but not preview

Hi. I’m writing in markdown and Ghost editor automatically parses any Markdown.

I’m trying to use code Markdown on certain words in an article. They display automatically in the Editor:

But in preview, it just shows a larger font like this:

How do I get the inline code to work properly on the published post?

It looks like the code styles your theme uses are not the same as the editor styles. You can’t change the editor styles, but you can change your theme styles using CSS. Which theme are you using?

I’m using a customised version of the Porto theme and I can’t seem to find any references to code styles in the CSS. Is there a common selector for code styling?

Edit: Code injection worked with some CSS styling. Thanks!

1 Like