Example blocks with line number annotation
tags:
example
Description/Summary
Org reference Hugo highlight shortcode with line numbers Default new line number start 1 2 line 1 line 2 Specify new line number start 20 21 line 20 line 21 Default continued line numbers 22 23 line 22 line 23 Specify continued line numbers jump 33 34 line 33 line 34
Content
Default new line number start
Specify new line number start
Default continued line numbers
Specify continued line numbers jump
Page (Debug)
Page Variable | Value |
Name |
"Example blocks with line number annotation"
|
Title |
"Example blocks with line number annotation"
|
ResourceType |
"page"
|
Kind |
"page"
|
Section |
"posts"
|
Draft |
false
|
Type |
"posts"
|
Layout |
""
|
Permalink |
"https://hugo-sandbox.netlify.com/posts/example-block-with-line-numbers/"
|
RelPermalink |
"/posts/example-block-with-line-numbers/"
|
Data |
page.Data{} (type:page.Data) |
|
NextPage | Don't Prefer Hyphen in Tags |
PrevPage | Filling is not preserved |
NextInSection | Don't Prefer Hyphen in Tags |
PrevInSection | Filling is not preserved |
Page Params (Debug)
maps.Params{"draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "tags":[]string{"example"}, "title":"Example blocks with line number annotation"} (type:maps.Params) |
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"3d2c2c711ad1e84cb5bd4ff8e4b6ba22"
|
BaseFileName |
"example-block-with-line-numbers"
|
TranslationBaseName |
"example-block-with-line-numbers"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"example-block-with-line-numbers.md"
|
Dir |
"posts/"
|
Ext |
"md"
|
Path |
"posts/example-block-with-line-numbers.md"
|