python-html2rest icon indicating copy to clipboard operation
python-html2rest copied to clipboard

Linked are broken

Open AlmightyOatmeal opened this issue 10 years ago • 2 comments

All links come out as this without any references:

`Contact us to learn more`_

AlmightyOatmeal avatar Oct 13 '16 23:10 AlmightyOatmeal

This project looks abandonned. I now use Pandoc instead:

$ pandoc --from=html --to=rst < README.html > README.rst

Hope this helps.

lourot avatar Oct 15 '16 10:10 lourot

@AurelienLourot: Thank you for the suggestion but that's not going the direction I'm looking for.

The goal is to avoid reliance on third party applications, like Pandoc, so the code will be significantly more portable.

I also found that Pandoc produced some sloppy restructuredtext formatting so I ended up writing my own that serves my needs and relies on no external binaries, just uses lxml (because I like lxml.objectify much more than built-in XML DOM utilities and it's significantly faster).

AlmightyOatmeal avatar Oct 15 '16 18:10 AlmightyOatmeal