Toy filter example from User Guide
''' A multi-line
comment.'''
def sub_word(mo):
''' Single line comment.'''
word = mo.group('word') # Inline comment
if word in keywords[language]:
return quote + word + quote
else:
return word
Pychart Chart generations from FAQ
No barchart to avoid depending on Pychart for the tests. See also: https://asciidoc.org/faq.html#_is_it_possible_to_include_charts_in_asciidoc_documents

Graphviz Graphs

Figure 1. Simple graph

Figure 2. Not so simple graph
Music filter

Figure 3. A tune generated from ABC notation