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

jquery does not always load before reveal.js #92

Closed wwoods closed 7 years ago

wwoods commented 7 years ago

Hi, first thanks for writing this tool, I really like it.

If --reveal-js-opts is specified, and --jquery and --reveal-js are specified, then there is a random chance (with a clean, anaconda-based pip install of rst2html5-tools) that jquery will load after the --reveal-js-opts code. This results in a broken webpage.

No known workaround at this time, other than to keep rebuilding the html file until it works.

wwoods commented 7 years ago

This is likely due to the fact that python dictionaries are unordered, and the PROCESSORS structure in postprocessors.py is a dictionary.