markdown-pdf icon indicating copy to clipboard operation
markdown-pdf copied to clipboard

List numbering is not as expected

Open radyakin opened this issue 4 years ago • 0 comments

Prerequisites

  • [X ] Reproduced the problem in Safe Mode (may not be approriate if your error involves markdown-preview-plus): http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
  • [X ] Checked that the issue isn't already filed: https://github.com/travs/markdown-pdf/issues)

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

radyakin avatar Sep 13 '21 08:09 radyakin