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)

  • some item
  • Something with an inline comment
  • 链接地址: http://www.djcxy.com/p/20152.html

    上一篇: 如何评论雨果的内容

    下一篇: 如何在Github Flavored Markdown中添加内联评论?