conversion of horizontal rules, code spans, emphasis and hard breakes; encoding and decoding of special chars, ampersands and angle quotes