Writing a custom tag to parse markdown and input HTML