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

Unsupported languages seem to break the layout #9

Open
Dids opened this issue Feb 8, 2018 · 1 comment
Open

Unsupported languages seem to break the layout #9

Dids opened this issue Feb 8, 2018 · 1 comment

Comments

@Dids
Copy link

Dids commented Feb 8, 2018

Before realizing that there is only support for a very limited amount of languages, I created simple markdown to visualize which languages worked and how well they worked.

Syntax Highlighting

let message = 'Hi'
console.log(message)
std::string message = "Hi";
std::cout << message << endl;
var message = "Hi";
Console.WriteLine(message);
#!/bin/bash
VAR=$(echo 'Hi')
echo ${VAR}
NSString *message = @"Hi";
NSLog(message);

Now here's what this looks like with Markdig and Markdig.SyntaxHighlighting:

Markdig SyntaxHighlighting

As you can see, both objectivec and bash break formatting entirely, and I did expect them to just be shown as regular code blocks, but without syntax highlighting.

Additionally, where should I look for to potentially add support for more languages?

@RichardSlater
Copy link
Owner

ColorCode is the component that actually does the syntax highlighting, I just built the glue to stick everything together.

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

No branches or pull requests

2 participants