travs / markdown-pdf

Convert markdown to pdf, png or jpeg on the fly in Atom
MIT License
263 stars 44 forks source link

List numbering is not as expected #246

Open radyakin opened 3 years ago

radyakin commented 3 years ago

Prerequisites

Issue description

Numbering of list items is not as expected.

Steps to reproduce

Try as shown in the illustration:

image

Expected behavior: Expect PDF output to contain list items numbered 1,2,3,4 as in the markdown preview window of Atom text editor.

Actual behavior: Obtained a PDF output with list items numbered 1,2,1,2

Input

https://gist.githubusercontent.com/radyakin/c62c502414f7c7b7177cfb63e1344ccb/raw/0d51d1264963670c805c8e5e9d5192c0913f4250/proof.md

Versions

apm 2.6.2 npm 6.14.13 node 12.14.1 x64 atom 1.58.0 python 3.8.5