<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"/><title>Example HTML5 Document</title><metaname="description"content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."/></head><body><p>Test</p></body></html>
Code block with backticks and language specified with line numbers#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"/><title>Example HTML5 Document</title><metaname="description"content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."/></head><body><p>Test</p></body></html>
Code block with line numbers and highlighted lines#
PaperMod supports linenos=true or linenos=table
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"/><title>Example HTML5 Document</title><metaname="description"content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."/></head><body><p>Test</p></body></html>
With linenos=inline line might not get highlighted properly.