MarkdownJournal
MarkdownJournal copied to clipboard
Syntax highlighting
Is there a way you could implement/allow syntax highlighted code blocks using the triple backtick syntax? Only allowing the indented code blocks makes typing stuff much more annoying because I have indent each line individually (or use a regex replace on notepad++, but still).
Example:
``` C #include <stdio.h> int main() { printf("Hello, World.\n"); return 0; } ```
Results in: (Supported by github)
#include <stdio.h>
int main() {
printf("Hello, World.\n");
return 0;
}
If you need it to be ruby compatible, here's a gem that will help.