Skip to content

Custom style and Syntax Highlight theme ignored in “Render as source code” mode #166

@juliaanvaneijndt

Description

@juliaanvaneijndt

Hi there! I’m running into a few confusing behaviors and want to check whether I’m missing something—or if this might be a bug:

  1. Custom style is ignored in source mode

    • I added this in a Custom style:

      body { outline: 5px solid red !important; }
    • In normal rendered Markdown view, it’s applied correctly (I see the red outline).

    • In Render as source code mode, nothing changes—the outline is missing.

  2. Syntax Highlight theme not applied

    • I’ve enabled the Syntax Highlight extension and selected the Bright theme.
    • Yet in source mode, the code highlights look like the default style—not the Bright theme.

According to the README, Custom style is supposed to be “appended after the CSS used for … highlight the source code” so you can customize syntax highlighting.

Am I overlooking a setting or is this a bug in how source mode handles theming?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions