Skip to content
Snippets Groups Projects
Commit c4bbb7ea authored by Bruno BEAUFILS's avatar Bruno BEAUFILS
Browse files

Change test files

parent a2bd2ad9
No related branches found
No related tags found
No related merge requests found
......@@ -48,13 +48,13 @@
, CodeBlock
( ""
, [ "lua" , "bash" , "numberLines" ]
, [ ( "startFrom" , "8" ) ]
, [ ( "startFrom" , "42" ) ]
)
"return line:sub(1,n):gsub(\" \",\"\") .. line:sub(n+1)\n"
" if not cb.attributes.endLine or number <= tonumber(cb.attributes.endLine) then\n"
, CodeBlock
( ""
, [ "lua" , "numberLines" ]
, [ ( "startFrom" , "61" ) ]
, [ ( "startFrom" , "42" ) ]
)
"{CodeBlock = transclude }\n"
"if not cb.attributes.endLine or number <= tonumber(cb.attributes.endLine) then\n"
]
......@@ -21,9 +21,9 @@ title: Including Hello World
`detent` removes specified number of whitespaces (and only
whitespaces) from beginning of each line
``` {include="include-code-files.lua" .lua startLine=8 endLine=8 dedent=4 .bash .numberLines}
``` {include="include-code-files.lua" .lua startLine=42 endLine=42 dedent=4 .bash .numberLines}
```
``` {include="include-code-files.lua" .lua startLine=61 endLine=61 dedent=5 .numberLines}
``` {include="include-code-files.lua" .lua startLine=42 endLine=42 dedent=10 .numberLines}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment