rst2html for partial HTML generation [Was: Re: 2015: reStructuredText implementations in other programming languages?]
Matěj Cepl <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] 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! ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.