Is there anything in markdown syntax specifically on GitHub to support hidden text?
I just want to put some to-do notes in README.md
for myself, not to be visible.
EXTRAS
As a tribute to the great answer by Tamas, and what's also asked a lot of times, below is an example of how to write foldable sections within MD files:
<details> <summary><b>My section header in bold</b></summary> Any folded content here. It requires an empty line just above it. </details>
Short Answer: No, Markdown does not offer a feature like that directly, but with some work you might be able to build something that works. For a feature like that to work you would need some CSS and/or JavaScript to control the animations, etc.
Just use standard HTML comments:
<!-- This is commented out. -->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With