Markdown formatted view shows a blank preview with Underscores in code blocks

  • Unknown's avatar

    I have noticed that if you add an underscore in your code block it will cause the markdown preview to show a blank screen. For example:

      TEMPLATE_PROJECT.capcut

    This is within a code block and therefore you should be able to use single underscores without affecting the markdown view, but in my tests by adding an underscore (even though within a code block) it causes the markdown preview to show a blank screen.

    If you change the underscore to (for example) a hyphen the markdown preview shows correctly? E.g.

      TEMPLATE-PROJECT.capcut
  • Unknown's avatar

    Also if you have markdown that would be interpreted incorrectly it will totally blank out the whole thing. For example if you want to display a number of stars in a table with:

    *****

    To represent 5 stars it will cause your entire preview in markdown to fail

    In this case it is essential to replace the invalid characters with the escape character before each:

    *****

    And that will now render the markdown and not show a blank screen.

  • Unknown's avatar

    That previous comment rendered incorrecly the second set of ‘stars’ should of been shown like this:

    *****
  • Unknown's avatar

    ARhhhh cannot get it to display backslash followed by a star five times as it renders it just as stars in this editor!

    *****

Reply to Markdown formatted view shows a blank preview with Underscores in code blocks