Skip to content

[Feature/Bug]: Code blocks in the markdown file do not show as code highlighted text #1481

Open
@StfBauer

Description

@StfBauer

I use Pattern Lab Node v6.0.1 on Windows | Mac | Linux, with Node v16.15.1, using a Vanilla Edition with a little bit of gulp flavoured on top of it.

Expected Behavior

Code in the documentation markdown should get rendered as a code block like on the screenshot below:

Screenshot 2023-02-03 at 09 37 29

Actual Behavior

Currently the behaviour is that markdown render formats it as a code block but primsjs do not kick in.

image

The screenshot from before I created by adding the syntax highlighter manually.

Steps to Reproduce

Createa pattern and add code inside the markdown file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions