New install of Marked 2 and my fenced code blocks are in italtics

john's Avatar

john

18 May, 2025 12:39 AM

I used the original Marked for years and recently upgraded to Marked 2.

When opening a very boring Markdown file, I see that my fenced code blocks are in italics.

For example:

gem install nokogiri -v '1.8.2' --source 'https://rubygems.org/' -- --use-system-libraries=true
bundle

The "gem install" and "bundle" lines are in italics.

I've tried both the MultiMarkdown and Discount processors.

  1. Support Staff 1 Posted by Brett on 29 May, 2025 03:57 PM

    Brett's Avatar

    You have verbatim blocks set to display as poetry:

    Disable that option and you should get the expected results.

  2. 2 Posted by john on 29 May, 2025 05:06 PM

    john's Avatar

    Thank you, Brett!

    On Thu, May 29, 2025 at 10:57 AM Brett <[email blocked]>
    wrote:

  3. Brett closed this discussion on 13 Jun, 2025 07:55 PM.

Comments are currently closed for this discussion. You can start a new one.

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