limedocs / limedocs-wiki-converter

Generate HTML & PDF documentation from you Github wiki or any other markdown-based wiki
MIT License
43 stars 65 forks source link

Pdf updates #3

Closed yakivmospan closed 6 years ago

yakivmospan commented 7 years ago

Hey, thanks for your library it helped me a lot.

Here is some patches that I did:

I. Now library support http links for page indication in TOC. With this users can: Setup TOC like this:

* [Introduction](https://github.com/ReactiveX/RxJava/wiki/Home)
* [Getting Started](https://github.com/ReactiveX/RxJava/wiki/Getting-Started)

and lwc will treat them as

* [Introduction](Home)
* [Getting Started](Getting-Started)

Then, while going through main markdown renderer, every link that was specified in TOC will be treated as page links (#Home, #Getting-Started).

II. Fixed error from datauri in case of parsing non local images.

III. Fixed overlapping of first two TOC items by header in PDF

IV Added page titles for pdfs