S
S
Svyatoslav Khusamov2016-07-28 13:44:03
Node.js
Svyatoslav Khusamov, 2016-07-28 13:44:03

How to handle nested numbered lists using the markdown-it module?

Is there a plugin for markdown-it that handles nested lists?
The problem arose when it was necessary to create a contract type text in markdown format, that is, a lot of numbered paragraphs, and of course nested ones (nesting can have many levels, not two). for example


1. Subject of the contract
1.1. In accordance with this Agreement, the Customer instructs, and the Contractor assumes obligations
to perform work on the work in the Customer's residential building at the address: _______________________, and the Customer accepts and pays for these Works.
1.2. The Works under the Contract include:

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question