Fenced Code Blocks Missing in HTML Export

Joshua Wright's Avatar

Joshua Wright

15 May, 2018 07:22 PM

I recently upgraded to to Marked 2 2.5.13 (946) from 2.5.10 (I think, maybe .11). Before upgrading, I could export a fenced code block to HTML and the content would remain. Now when I export to HTML, my fenced code block is replaced with this:

<!--MKCODEBLOCK-40-->

I export to HTML by clicking File | Export As | Save HTML then I choose Include style in output (GitHub), Include Syntax Highlighting JavaScript and Embed local images for standalone HTML before naming and saving the file.

Any thoughts on reverting to former functionality? Can I download the older version to replace the recently broken feature?

Thanks,

-Josh

  1. Support Staff 1 Posted by Brett on 15 May, 2018 08:32 PM

    Brett's Avatar

    This was broken in the 2.5.11 update, but should be fixed in 2.5.13. If
    you're certain you're running the latest version, please attach a sample
    file so I can verify what's going on.

    Thanks,
    Brett

  2. 2 Posted by Joshua Wright on 15 May, 2018 08:46 PM

    Joshua Wright's Avatar

    Clicking Marked 2 | About Marked indicates that I am using version 2.5.13 (946). The Info.plist file also indicates as much:

    $ /usr/libexec/PlistBuddy -c Print /Applications/Marked\ 2.app/Contents/Info.plist | grep -i VersionString
        CFBundleShortVersionString = 2.5.13
    

    A markdown file containing nothing but a 1-line fenced code block saved as HTML reproduces this error. I've attached a sample md file and a screenshot.

    Thanks for always responding quickly to these problems!

    -Josh

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac