Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sflanders95
Copy link

@sflanders95 sflanders95 commented May 5, 2019

…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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant