Example blocks with line number annotation
tags:
example
Description/Summary
Org reference Default new line number start # 1 2 line 1 line 2 An example without -n:
foo bar 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 Specifying linenos parameter # In the below block, :linenos false switch was added to the example block header.
Content
Default new line number start
#
An example without -n
:
Specify new line number start
#
Default continued line numbers
#
Specify continued line numbers jump
#
Specifying linenos
parameter
#
In the below block, :linenos false
switch was added to the example
block header.
This is line 1
This is line 2
This is line 3
Page (Debug)
Page Params (Debug)
Key | Type | Value |
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2022-03-08 20:49:23 -0500 -0500
|
tags | []string |
"example"
|
title | string |
"Example blocks with line number annotation"
|
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"
|