Source

pyyaml / examples / yaml-hl / yaml_hl.py

Author Commit Message Labels Comments Date
Kirill Simonov
Remake the YAML highlighting example.
Kirill Simonov
Fix yaml-hl to use the new API.
Kirill Simonov
Major refactoring.
Kirill Simonov
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. }}}