Filter Tests


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: http://asciidoc.org/faq.html#_is_it_possible_to_include_charts_in_asciidoc_documents

barchart.png

Graphviz Graphs

Graphviz->AsciiDoc->HTML

Figure 1. Simple graph

graphviz2.png

Figure 2. Not so simple graph


Music filter

music1.png

Figure 3. A tune generated from ABC notation

Link to following fragment.

music2.png

Figure 4. A fragment generated from LilyPond source


Last updated 2002-11-25 00:37:42 UTC