Commented text at the very beginning of a text file shows

thetzger's Avatar

thetzger

30 Mar, 2019 10:49 AM

Hi!
If I outcomment text at the very beginning of a file, e.g. <!--comment-->, it will still show in the preview that Marked 2 creates. Normally the preview will not show outcommented text. Is this a bug or intentional? And can the behaviour be switched off?

  1. Support Staff 1 Posted by Brett on 30 Mar, 2019 12:36 PM

    Brett's Avatar

    Appears to be a bug. Likely something to do with the way I allow multimarkdown metadata to be commented at the beginning of a file, but I'll need to look into it. It doesn't happen if the Preferences->Processor is set to Discount.

    You can avoid it by simply putting a blank line in the first line of the document for now, though.

  2. 2 Posted by thetzger on 30 Mar, 2019 12:57 PM

    thetzger's Avatar

    Thanks, I appreciate the quick reply! I'm going to use Discount for now and will switch back to MMD as soon as the bug is fixed.

  3. Support Staff 3 Posted by Brett on 16 Apr, 2019 08:37 PM

    Brett's Avatar

    FYI, I have this fixed up for the next update. Not sure when it will be ready for release, but probably within a couple weeks. Closing this for now.

  4. Brett closed this discussion on 16 Apr, 2019 08:37 PM.

  5. thetzger re-opened this discussion on 17 Apr, 2019 07:07 PM

  6. 4 Posted by thetzger on 17 Apr, 2019 07:07 PM

    thetzger's Avatar

    Hi Brett!

    Thanks for letting me know!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac