marianoguerra / rst2html5

transform restructuredtext documents to html5 + twitter's bootstrap css, deck.js or reveal.js
http://marianoguerra.github.com/rst2html5
MIT License
177 stars 51 forks source link

rst2html5 --reveal-js does not seem to work #18

Closed pcav closed 11 years ago

pcav commented 11 years ago

./bin/rst2html5 --reveal-js --pretty-print-code --embed-content examples/slides.rst > reveal.html

the slides are not shown, even if the code is generated. Tried with my own rst, only a portion of text is displayed

pcav commented 11 years ago

In fact, the output in output/ is quite different from mine. I can send the output if it helps debugging (BTW, I do not know why GH does not allow text attachments).

marianoguerra commented 11 years ago

it works with this command:

./bin/rst2html5 --embed-images --jquery --reveal-js --pretty-print-code --embed-content examples/slides.rst > output/reveal.html

I added --jquery for it to work, embed-images is optional, but it generates a one file presentation which is handy

marianoguerra commented 11 years ago

the result is here: http://marianoguerra.github.com/rst2html5/output/reveal.html#/

pcav commented 11 years ago

Confirmed, it works also with my rst. A couple of issues though, unsure whether they are upstream limitations: