kiwi0fruit / pandoctools

Profile manager of text processing pipelines: Pandoc filters, any text CLI filters. Atom+Markdown+Pandoc+Jupyter workflow, export to ipynb. Uses Stitch fork: https://github.com/kiwi0fruit/knitty
MIT License
52 stars 9 forks source link

Add export -t html -o f.pdf #29

Closed kiwi0fruit closed 5 years ago

kiwi0fruit commented 5 years ago

cssselect2 tinycss2 Pyphen html5lib cffi webencodings defusedxml pillow six pycparser websockets appdirs urllib3 tqdm

CairoSVG cairocffi weasyprint pyee pyppeteer

> ~WeasyPrint is free software made available under a BSD license. It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.~

~Nope.  WeasyPrint is not an option.~

*  [x] ~Add [pyppeteer](https://github.com/miyakogi/pyppeteer). [**PDF**](https://miyakogi.github.io/pyppeteer/reference.html#pyppeteer.page.Page.pdf). But first fork and add [certificate-verification](https://urllib3.readthedocs.io/en/latest/user-guide.html#certificate-verification) and [patch](https://github.com/miyakogi/pyppeteer/pull/160).  [Update Chromium version in pandoctools](https://miyakogi.github.io/pyppeteer/reference.html#environment-variables). [Chromium Version](https://chromium.woolyss.com/#windows): 599034 or [puppeteer](https://github.com/GoogleChrome/puppeteer/releases)~

pip download pyppeteer conda install -c defaults -c conda-forge pip install pyppeteer



~**UPD:**~
~Nope. It's too many work to do. I better go with Atom tweaking.~

~**UPD2:**~
~Yep, that's a lot of work. But it's a better way to go - it's would works on both VS Code and Atom.~