reST directives for literate programming