Markdig.SyntaxHighlighting
Markdig.SyntaxHighlighting copied to clipboard
Unsupported languages seem to break the layout
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:

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?
ColorCode is the component that actually does the syntax highlighting, I just built the glue to stick everything together.