Add an example: yaml highlight script.
commit1aa7b0452571d438cf05d3365e9d23616144f076
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Sun, 19 Mar 2006 15:41:32 +0000 (19 15:41 +0000)
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Sun, 19 Mar 2006 15:41:32 +0000 (19 15:41 +0000)
treeec2f20703364a290400f69ddf153330fdf8f51de
parentf68dbe20a12d394fd4c8622c036cd941d6ded839
Add an example: yaml highlight script.

Usage:
{{{
$ cat your_yaml_document | ./yaml_hl.py                         # Produces colored ASCII output
$ cat your_yaml_document | ./yaml_hl.py -c yaml_hl_html.cfg     # Produces HTML output.
}}}

git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@119 18f92427-320e-0410-9341-c67f048884a3
examples/yaml-hl/yaml_hl.py [new file with mode: 0755]
examples/yaml-hl/yaml_hl_ascii.cfg [new file with mode: 0644]
examples/yaml-hl/yaml_hl_html.cfg [new file with mode: 0644]
lib/yaml/error.py
lib/yaml/reader.py