Skip to content

Fenced markdown code blocks render in the body font instead of monospace #3819

Description

@smxmdrissel

What happened?

When I open a markdown file with a code block, the code is rendered in the body font, not the monospace font Courier New.

Here is my simple markdown file:
lorem-epsom-dense-monolith.md

Steps to reproduce

  1. Open lorem-epsom-dense-monolith.md
  2. View the bash code block

SuperDoc version

1.44.1

Browser

None

Additional context

I see the code block rendered in the body font instead of Courier New: Image

I expected to see it rendered in Courier New:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions