How do I add inline comments in Github Flavored Markdown?
I'm trying to create a gist with an inline comment. I read a solution here which works for putting a comment on it's own line (as shown in the image); however, it doesn't appear to work for inline comments. Is there any way to get inline comments in github flavored markdown?
- [x] some item
- [ ] another item with meta info [//]: # (attempt at meta info as inline comment)
[//]: # (This may be the most platform independent comment)
[//]: # (https://stackoverflow.com/questions/4823468/comments-in-markdown)
looking more closely at this solution a possible workaround for inline comments:
- [x] some item
- [ ] another item with meta info [//]: # (attempt at meta info as inline comment)
- [ ] using @ig0774's recomendation [](with an inline comment hidden inside an empty link)
[//]: # (This may be the most platform independent comment)
[//]: # (https://stackoverflow.com/questions/4823468/comments-in-markdown)
[](and another comment down here too using the empty link method)
You can also just do this
<!--- Comments are Fun --->
Remember, markdown is just an easier way to write HTML content. (note the triple dash)
上一篇: 如何评论雨果的内容