# 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: 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

Link to following fragment.

Figure 4. A fragment generated from LilyPond source

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