Readme to HTML conversion for lib.rs. It's mostly internal,
Supports:
rst2html
),<span class>
. Actual theme colors are in the style subproject.Install docutils
package, so that rst2html
command is available (in PATH
).
It needs to write a file to system's temp directory for rst2html
. If you clear temp while the program is running, rst support may fail.
It generates HTML <span>
class names based on scope names from Sublime Syntax files, but:
highlight.rs
for the list of abbreviations.All languages are precompiled from syntaxes/
submodule.
tmLanguage
definitions need to be converted first.