register standard directives with Markdown, reStructuredText and
template parsers