如何在 Github Flavored Markdown 中添加内嵌评论?
How do I add inline comments in Github Flavored Markdown?
我正在尝试创建一个带有内嵌评论的要点。我阅读了一个解决方案 here,它适用于在它自己的行上添加评论(如图所示);但是,它似乎不适用于内联评论。有什么方法可以在 github 风格的降价中获得内联评论吗?
- [x] some item
- [ ] another item with meta info [//]: # (attempt at meta info as inline comment)
[//]: # (This may be the most platform independent comment)
[//]: # (
仔细研究 this solution 内嵌注释的可能解决方法:
- [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)
[//]: # (
[](and another comment down here too using the empty link method)
你也可以这样做
<!--- Comments are Fun --->
记住,markdown 只是一种更容易编写 HTML 内容的方式。
(注意三重破折号)
- 一些项目
- 带有内嵌注释的内容
我被这件事搞砸了<?put anything &%#$ here ?>
,这似乎是一个相当有力的评论。
它似乎也适用于 Whosebug :-)
我正在尝试创建一个带有内嵌评论的要点。我阅读了一个解决方案 here,它适用于在它自己的行上添加评论(如图所示);但是,它似乎不适用于内联评论。有什么方法可以在 github 风格的降价中获得内联评论吗?
- [x] some item
- [ ] another item with meta info [//]: # (attempt at meta info as inline comment)
[//]: # (This may be the most platform independent comment)
[//]: # (
仔细研究 this solution 内嵌注释的可能解决方法:
- [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)
[//]: # (
[](and another comment down here too using the empty link method)
你也可以这样做
<!--- Comments are Fun --->
记住,markdown 只是一种更容易编写 HTML 内容的方式。 (注意三重破折号)
- 一些项目
- 带有内嵌注释的内容
我被这件事搞砸了<?put anything &%#$ here ?>
,这似乎是一个相当有力的评论。
它似乎也适用于 Whosebug :-)