Markdown code blocks and HTML tags

  • Unknown's avatar

    I’ve been using markdown for my posts, particularly because of the more terse writing of code elements / blocks (back-ticks and code fences) and not needing to escape characters in them. This has worked great, except that it seems to have problems with certain HTML elements. The parser seems to strip the tags and sometimes will act as if following text is part of the code block / element. I’ve had this problem with the following elements: ‘input, ‘script, ‘style, ‘noscript, ‘textarea, ‘label, and ‘option’. Other elements I’ve used have seemed to work just fine. If need be, I can create a page as a demo.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    add to that list the ‘video’ element

  • The topic ‘Markdown code blocks and HTML tags’ is closed to new replies.