Support for %% Comment markdown
I'm using Scrivener to write a largish markdown file for LeanPub. I'm finding increasing use for inserting comments into the book writing and using the convention of %%.
I've enabled LeanPub mode, but Marked doesn't 'hide' the comments.
Is there a workaround or fix in the preferences ?
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 13 Apr, 2014 12:50 AM
LeanPub mode isn't a full replication and is missing some of their newer
syntax. %% is nowhere in the Markdown spec, so it would require me
writing a way to do it from scratch. It's not something I'd be able to
get to any time soon.
Marked does support Scrivener's standard annotation syntax, though, and
can hide them from view. I'm sure that doesn't help with the eventual
port to LeanPub, though.
If I can find an easy way to do it, I'll consider it, but no, there's no
current support for it.
-Brett
2 Posted by greg.ferro on 13 Apr, 2014 10:50 AM
Thanks Brett. Consider it a feature request then.
I'm using the %% Comment idea much more when transferring from outline to paragraphs. I list out my bullet points as a comment and then write the paragraph under the bullet. Maybe I'm just doing it differently from everyone else.
Thanks for the prompt response. Understand and accept the status.
greg
3 Posted by lucb on 17 Apr, 2016 11:20 PM
I'm a Leanpub author ( Cognitive Productivity). I've asked Leanpub to include support for XML comments, <!-- ---> , which would resolve the matter. They are working on the Markua spec. I see that their Markua spec now specifies support for such comments: https://leanpub.com/markua/read