Micro.blog's web editor mixing HTML and markdown's backticks

Hello! I had some trouble with using markdown to define a code blocks today, using macOS Safari 18.6.

The web editor real-time preview and preview sometimes doesn’t look right, but the post will be correct. Basically, if I sandwich HTML between code blocks, the web editor will show everything as code, down to the last set of back ticks, including the HTML. Here’s what it looks like:

You have to have new lines between code blocks and the other Markdown content.

Indeed. Though, the behavior of the real-time preview with new lines is also odd. Here’s a quick screen recording of what I’m seeing.

I’m seeing the same thing as @kurite. Even with new lines between code blocks, the entire area gets styled as code in the editor. Although as mentioned, the preview view looks correct.

Editor view:

Preview view:

1 Like

Thanks, we should be able to fix that so that it looks correct in the editor.

2 Likes

Thank you for taking the time to confirm & report!

1 Like