# Support for %% Comment markdown

#### greg.ferro

12 Apr, 2014 10:29 PM

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 ?

1. Support Staff 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

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

### »

#### 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 Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 21 May, 2018 07:33 PM Suggestion: rubberbanding for scrolling 21 May, 2018 04:40 PM Huge PDF sizes after 2.5.14 (947) update 18 May, 2018 03:09 PM Mathjax fails mid-document. 18 May, 2018 02:27 AM Custom Processor not running 2.5.13 and 2.5.14 18 May, 2018 02:08 AM GitHub style doesn't show blank lines when blank lines between bullet items

## Recent Articles

 Highlight sentences longer than a certain number of words In-app purchase issues (Error Domain=Paddle Code=0 "(null)") License code has already been utilized How do I retrieve a lost license (direct version) Custom CSS: Writing custom CSS for Marked