Commented text at the very beginning of a text file shows
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?
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
Support Staff 1 Posted by Brett on 30 Mar, 2019 12:36 PM
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 Posted by thetzger on 30 Mar, 2019 12:57 PM
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.
Support Staff 3 Posted by Brett on 16 Apr, 2019 08:37 PM
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.
Brett closed this discussion on 16 Apr, 2019 08:37 PM.
thetzger re-opened this discussion on 17 Apr, 2019 07:07 PM
4 Posted by thetzger on 17 Apr, 2019 07:07 PM
Hi Brett!
Thanks for letting me know!