Doc fixes

Fixes syntax for filter example and clarifies use of type attribute to differentiate language extensions and output modifiers