11

A GitHub repo is described in a text file README.md, in Daring Fireball's Markdown format. Does that language support comments, either as a feature or a quick hack? I'd like to have some text that is visible when editing the file, but invisible in the HTML result. (Just like HTML's <!-- ... -->, or bash's # ....)

Their extensive example doesn't seem to mention this. Their mailing list archive isn't directly searchable, but even indirectly I find only vaguely related posts.

16

Huh. As a quick experiment I just tried <!-- ... -->, and it worked. Here's the example.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.