Skip to content

Instantly share code, notes, and snippets.

@thepurpleowl
Forked from jonikarppinen/markdown-comments.md
Last active September 11, 2018 17:52
Show Gist options
  • Save thepurpleowl/156584f456eb62228994015be03ae11e to your computer and use it in GitHub Desktop.
Save thepurpleowl/156584f456eb62228994015be03ae11e to your computer and use it in GitHub Desktop.
How to comment out stuff in Markdown on GitHub?

Comments in GitHub flavour of Markdown

As answers to this Stack Overflow question reveal, using <!--- and ---> works (view source by clicking "Raw"):

Inline comments

But the above doesn't work for inline comments. :-(

How about commenting out a of one line?

If you know of a way, please show me how {% comment %}by{% endcomment %} cloning this Gist, or commenting below!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment