rudimentary bold/italic/underline support (no nesting yet); beginning of directives