Skip to content

Instantly share code, notes, and snippets.

@randallreedjr
Last active January 8, 2025 07:38
Show Gist options
  • Save randallreedjr/9dceb795ee0da848ea56f73f663b07db to your computer and use it in GitHub Desktop.
Save randallreedjr/9dceb795ee0da848ea56f73f663b07db to your computer and use it in GitHub Desktop.
How to add comments to Markdown

There are comments here but you can't see them

Below this ↓


And above this ↑

Check out the "raw" file if you don't believe me!

Here's a codeblock to see what the comment syntax looks like

[//]: # (This syntax works like a comment, and won't appear in any output.)
[//]: # (It’s a little bizarre, but it works with MacDown and Pandoc.)

Source: https://alvinalexander.com/technology/markdown-comments-syntax-not-in-generated-output

@GerardEngland
Copy link

I got it
Drift Boss

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