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

markdown-pdf full documentation

Open neooblaster opened this issue 6 years ago • 3 comments

Hi all,

I was wonder if it exist a full documentation, for markdown-pdf CLI with all options ?

I'm trying to set Headers and Footers using markdown-pdf dev.md --runnings-path running.js and nothing happens with my running.js file. I made mistakes in my script file to trigger an error, but nothing goes wrong.

I only found 2 issues on GitHub, but I don't find any documentation regarding --runnings-path option.

Where can I find support to make header and footer ?

Suggestion : That could be cool If you make full documentation in Wiki tab on GitHub ?

Thanks a lot for your support.

Edit : I succedeed to jump to PhamtomJS with example, but there was a little change : do not use phantom.callback() and height is mandatory to works

neooblaster avatar Nov 28 '18 10:11 neooblaster

@neooblaster is this what you're looking for? https://github.com/alanshaw/markdown-pdf#optionsrunningspath

alanshaw avatar Nov 29 '18 10:11 alanshaw

Hello @alanshaw Yes, it's that option. I would like to know if there was an full detailled documentation or if all it's here. That was also true for all options available for mdpf.

Thanks you for your replies.

neooblaster avatar Dec 04 '18 13:12 neooblaster

It would be nice to have documentation to make things in the document actually work. The two main things I need don't work at all: linking to headings and embedding images. This seem like two really obvious use cases, but I have no idea where to look. They work in every other renderer I've used, but I wanted to make a PDF, so my first attempt was to use this project. I found this issue regarding images: https://github.com/alanshaw/markdown-pdf/issues/11 It seems the solution is to use full paths which seems rather absurd IMO. I don't want to lock my project into the same file path for all of time. That's what relative paths are for.

caseyhoward avatar Jan 05 '19 00:01 caseyhoward