wte.text_formatter
This module contains functions for formatting the instruction texts shown to the student.
wte.text_formatter.
HTMLLineNumbersTranslator
The HTMLLineNumbersTranslator extends the html4css1.HTMLTranslator, outputting source line numbers for all nodes that have one.
html4css1.HTMLTranslator
starttag
Construct and return a start tag given a node (id & class attributes are extracted), tag name, and optional attributes.
compile_rst
Compiles the given ReStructuredText into HTML. Returns only the actual content of the generated HTML document, without headers or footers.
boolean
false
The body content of the generated HTML
unicode
init
Initialise the module and all docutils extensions.
wte.scripts.timed_tasks
wte.text_formatter.docutils_ext