convert markdown tags to bold and italic