From: Matěj C. <mc...@ce...> - 2015-06-26 12:27:16
|
On 2015-04-23, 08:01 GMT, Peter Funk wrote: > BTW: Who can contribute reports about her/his experiences > with pandoc ( https://github.com/jgm/pandoc ) to this discussion? > I've experimented in a project with the following makefile rule but > later decided to manually edit the resulting .rst files a lot. https://github.com/jgm/pandoc/issues/2231#issuecomment-111875559 rST processor which cannot process .. image: elements is kind of difficult to use. And now, I cannot upgrade pandoc (more recent one doesn't build on my system, and I don't want to use unpackaged programs anyway). However, I have decided to make The Right Thing™ and wrote my hexo renderer using rst2html (https://gitlab.com/mcepl/hexo-renderer-restructuredtext) except now I have a different problem (issue #1 in that repository). rst2html generates only complete HTML documents and relies on tons of CSS stylesheets. Would it be possible to somehow persuade rst2html to produce just as plain HTML as possible without dependency on too much of CSS? I guess proper template (and --template parameter) could cover multitude of sins. Did anybody prepare such a template? Best, Matěj -- http://www.ceplovi.cz/matej/, Jabber: mc...@ce... GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC The world is coming to an end! Repent and return those library books! |