Skip to content

Possibility to emit code fence and not html that already has syntax highlighting? #14

Open
@chivandikwa

Description

@chivandikwa

Is there currently a way to make the gatsby-remark-embed-gist plugin emit a code fence similar to manually adding code with markdown, something like

var sampleCode = "awesome"

This would then make it possible to use the embedded gist with any other plugin you may have configured to do syntax highlighing. This is super useful in my case where I already use gatsby-remark-vscode with customization for code I add manually and would like my embedded gists to look exactly the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions