Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

I have changed the ApplySyntaxHighlighting so that Markdig no longer …#13

Open
sflanders95 wants to merge 1 commit into
RichardSlater:masterfrom
sflanders95:master
Open

I have changed the ApplySyntaxHighlighting so that Markdig no longer …#13
sflanders95 wants to merge 1 commit into
RichardSlater:masterfrom
sflanders95:master

Conversation

@sflanders95

@sflanders95 sflanders95 commented May 5, 2019

Copy link
Copy Markdown

…innapropriately does not apply a <pre> block to language names not known to the ColorCode project. I also made it optional so users can opt out of not getting the expected results of a ``` block rendering in a <pre> tag"

note some of the properties may need to change back from public string Id => "default"; to public string Id { {get return "default"; } } or similar...

This is kind of a hack as I believe markdig does not handle ```unknownlang correctly as it renders the text in a ``` section as <div and not <pre. This hack simply fixes that.

…innapropriately does not apply a <pre> blog to names not known to the ColorCode project. I also made it optional so users can opt out of not getting the expected results of a ``` block rendering in a <pre> tag"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant