Convert error in some case
Work on ubuntu16.04.python2.7, markdown2pdf install pip install markdown2pdf.
Covert markdown script md2pdf test.md
## title1
### title2
test statement.
* first point
+ aaaaaaaaaaaaaaaaaaaaaaaaa
+ bbbbbbbbbbbbbbbbbbbbbbbbb
* second point
+ ccccccccccccccccccccccccc
+ ddddddddddddddddddddddddd
+ fffffffffffffffffffffffff
and get
Then remove test statement. from the script,conversion is correct.
Is there something wrong?
Just change your + to * should work. Markdown has no universal standard, * is the most accepted list mark, while - and + are only supported in particular services and apps, eg github.
If you want to support more markdown documents you should overwrite the parser yourself. mistune is a good example of this. Convert markdown -> html -> pdf should still work.
Just change your
+to*should work. Markdown has no universal standard,*is the most accepted list mark, while-and+are only supported in particular services and apps, eg github.If you want to support more markdown documents you should overwrite the parser yourself. mistune is a good example of this. Convert markdown -> html -> pdf should still work.
Thanks for reply and kindness.
I think markdown2pdf supports - and +. Remove test statement. from the script above and get:
So,maybe this is a BUG?