hexojs / hexo-renderer-markdown-it

Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
MIT License
341 stars 60 forks source link

Is it possible to hide some text in markdown completely? #159

Closed hao-lee closed 2 years ago

hao-lee commented 2 years ago

<!-- private text --> doesn't meet my need because this method only hides the text instead of remove it completely from the HTML output.

tomap commented 2 years ago

Maybe have a look at the tag detail & summary?

hao-lee commented 2 years ago

Currently I use the solution found from StackOverflow.

[//] # (private comments)