Skip to content

Inline code blocks rendered incorrectly in markdown #869

@gligoran

Description

@gligoran

Describe the bug

All theme variations (except for the new Night Flat) render inline code blocks in their own line in markdown previews.

To Reproduce

Create a markdown file with a contents like:

This is a demo of an inline `markdown` code block.

Expected behavior

The markdown part should be rendered inline with the rest of the text, but highlighted.

Screenshots & Example Code

This is the default vscode dark theme:
Image

This is the One Dark Pro theme:
Image

This is the One Dark Pro Night Flat theme:
Image

Notice how workbench.colorCustomizations and editor.tokenColorCustomizations are incorrectly rendered in the One Dark Pro theme.

This is from this project's README.md.

Desktop (please complete the following information):

Additional context

I think the issue are the 3 scss files in the scss folder. All the One Dark Pro themes (One Dark Pro Mix, One Dark Pro Flat, One Dark Pro Darker, and One Dark Pro) are scoped there by name except for the Night Flat and it still works as it should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions