Comment MARKMIN source

46 views
Skip to first unread message

Alan Etkin

unread,
Dec 4, 2012, 5:04:25 PM12/4/12
to web...@googlegroups.com
I've searched the docs in the web but could not find anything useful.

Is there a way to add comments to MARKMIN syntax preventing it to be rendered?

i.e: I want this:

## My cheese shopping list

- Gruyère /*They are probably out of this one*/
- Mozzarella /* No stock for this neither */
- Mar del Plata /* This could be a little runny */

To be rendered this way:

My cheese shop list

* Gruyère
* Mozzarella
* Mar del Plata

Perhaps this could of help with translating docs (for example to add notes for other translators)

Thanks

Massimo Di Pierro

unread,
Dec 4, 2012, 9:16:08 PM12/4/12
to web...@googlegroups.com
``....``:comment

MARKMIN(text, extra=dict(comment=lambda t:''))

Alan Etkin

unread,
Dec 5, 2012, 6:21:16 AM12/5/12
to web...@googlegroups.com
El martes, 4 de diciembre de 2012 23:16:08 UTC-3, Massimo Di Pierro escribió:
``....``:comment

MARKMIN(text, extra=dict(comment=lambda t:''))



Thanks Massimo.

Is the comment kwarg used in the book app? If not, I belive this could be handy for commenting translations (unless there's a better way already available).

Reply all
Reply to author
Forward
0 new messages