Skip to content

Is it possible to including portions of numbered lists with numbering kept in sequence? #199

Answered by mondeja
bimCelum asked this question in Q&A
Discussion options

You must be logged in to vote

Several things probably happening here that you must take into account:

  • You can use ordered lists with all ones as numbers and will be rendered correctly, see https://www.markdownguide.org/basic-syntax/#ordered-lists
  • If you don't use comments=false, two newlines will be included in the content, probably resetting the count. comments=false will be the default from v7.0.0, see #194
  • Another option is to only include the content of the list item and not the list item itself (also with comments=false) with something like 1. {% include-markdown ... %}.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mondeja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants