Skip to content

Commit

Permalink
🐛 Code block lineno-start turns on line numbers (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Sep 16, 2022
1 parent ec59697 commit 14d1e42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/examples/directives.code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ cases:
return 5
</code></pre>
- title: Code-block directive cannot spcify linenos without showing them
- title: Code-block directive shows line numbers without explicit linenos flag
mdast:
type: root
children:
Expand All @@ -122,6 +122,8 @@ cases:
children:
- type: code
lang: python
showLineNumbers: true
startingLineNumber: 2
value: |-
def five():
return 5
Expand Down

0 comments on commit 14d1e42

Please sign in to comment.