Fizzadar / Luapress

:newspaper: Static site/blog generator written in Lua.
MIT License
198 stars 32 forks source link

numbering notation does not work #86

Open 4mig4 opened 4 years ago

4mig4 commented 4 years ago
# test

1. test 1

do something


2. test 2

do another thing


3. test 3

Should produce

test

  1. test1
do something
  1. test 2
do another thing
  1. test 3

but produces only 1. 1. 1.

Fizzadar commented 4 years ago

@4mig4 is this GitHub specific? I've never seen this work before - tested just now in MacDown and it's behaving as Luapress does...

Either way while I would like to support this - the markdown parsing is handled by the lua-discount library, so this will likely need support in discount itself, and possibly changes to the bindings there.

4mig4 commented 4 years ago

@Fizzadar I am not sure it is since even in numerous editors (i.e: Atom , Visual Code, etc..) it behaves the same as in GitHub.