Using One Markdown to Highlight Source Code for Programming Language for OneNote
One Markdown 2.0 add highlight syntax for code block.
You just need to add programming language name after begin tag ```.
You just need to add programming language name after begin tag ```.
Markdown Code Block with Programming Language Name
Follow code block is a C program. (Add c after code block start tag ```)
Follow code block is a C program. (Add c after code block start tag ```)
```c
#include<stdio.h>
void main()
{
printf("Hello world!");
}
```
Attention: One Markdown just support follow programming language name:
bash, c, cpp, csharp, css, pas, java, js, perl, pl, php
Markdown Code Block -> One Markdown -> One Markdown Server -> OneNote
Demonstration
bash, c, cpp, csharp, css, pas, java, js, perl, pl, php
Markdown Code Block -> One Markdown -> One Markdown Server -> OneNote
- Insert code block with programming language name into a page in One Markdown.
- One Markdown will auto sync this page to "One Markdown Server".
- And "One Markdown Server" will auto sync this page to OneNote.
Demonstration