如何在GitHub问题中查看评论的降价?例如,我想看到构成此评论的降价: https://github.com/jashkenas/backbone/issues/3857#issue-116738665查看GitHub评论的原始降价
回答
首先,第一篇文章是实际的问题本身,而不是访问,但在GitHub issue API:
https://api.github.com/repos/jashkenas/backbone/issues/3857/comments
这份名单只有3条评论,因为第一篇文章不是评论。
这个问题本身有一个格式化的身体:
https://api.github.com/repos/jashkenas/backbone/issues/3857
返回:
"body": "In Safari , pass a path using unicode string to `navigate` method like this\r\n\r\n```js\r\nBackbone.history.navigate('/city/北京',{trigger:true});\r\n```\r\nThe hash is incorrect. It output\r\n\r\n```js\r\nlocation.hash\r\n//> #/city/%17%AC\r\n```\r\n\r\nI tracked the code, it caused by `_updateHash` method.\r\n\r\nThe call stack created by `History.prototype.navigate` method like this\r\n\r\n* navigate\r\n - decodeFragment\r\n - _updateHash\r\n\r\nThe fragment passed to `_updateHash`, was decoded by `decodeFragment`, so the hash was incorrect。\r\n\r\nI also searched the commit history, the `decodeFragment` added in \"1.2.0\"\r\n\r\nPS: My english is not good, although I am trying to improve\r\n\r\n",
这是不准确 mardown:
In Safari , pass a path using unicode string to `navigate` method like this
```js\r\nBackbone.history.navigate('/city/北京',{trigger:true});
```\r\nThe hash is incorrect. It output
```js\r\nlocation.hash
//> #/city/%17%AC
```
I tracked the code, it caused by `_updateHash` method.
The call stack created by `History.prototype.navigate` method like this
* navigate
- decodeFragment
- _updateHash
The fragment passed to `_updateHash`, was decoded by `decodeFragment`, so the hash was incorrect。
I also searched the commit history, the `decodeFragment` added in \"1.2.0\"
PS: My english is not good, although I am trying to improve
在此The second comment问题有两个图像,所以这些奇特的效果,没有markdow:
https://cloud.githubusercontent.com/assets/516562/11164567/62f9ddf6-8b2f-11e5-8aa8-631c1aa84422.gif
[https://jsfiddle.net/leexiaosi/uyp3o6ek/](https://jsfiddle.net/leexiaosi/uyp3o6ek/)
**notice!!!** : please open in safari.
### the record of safari

### the record of chrome

我想这是我要得到的最好的。 – duffn
这可能是太晚了。但我可以这样做(至少在Firefox中)。
我假设你的意图是复制评论的格式。
这不是一个确切的解决方案,但由于GitHub在评论中支持HTML标签,这将工作得很好。
- 右键单击想要复制的评论顶部的某处。
- 检查元素
在检查元素中,你会发现一条线,这是一个几行突出显示的行具有这种代码上面:
<td class="d-block comment-body markdown-body js-comment-body">
右键单击具有行上面的代码
选择复制>内在HTML
现在您可以将其粘贴到评论框中,预览它,您将可以看到相同的格式,或者使用online HTML to MD converter。
- 1. 查看评论在Facebook上的评论
- 2. javascript - 查看评论
- 3. 如何在github评论中发布原始XML
- 4. 如何在GitHub上查看某人的评论历史记录?
- 5. 查看更多评论
- 6. Github的降价API和Javascript
- 7. 如何在github上查看线条评论
- 8. 如何访问GitHub wiki页面的原始降价文档在哪里?
- 9. Pymongo排序评论降序
- 10. 检索github提交评论
- 11. GWT - Facebook的评论 - 查看更多
- 12. 在for循环中生成降价评论
- 13. 评价(like/dislike)YouTube的评论
- 14. Visual Studio 2015查看所有评论
- 15. 评论没有显示在表查看
- 16. 打印评论PDF-XChange查看器
- 17. 在Android中查看JPEG评论
- 18. 查看原始XML请求
- 19. Github:强调单个字母的降价
- 20. GitHub上隐藏的降价文字
- 21. Github的网页:哪里是降价?
- 22. “IF”论证评价令?
- 23. 在GitHub中,什么级别可以评论评论?
- 24. 如何在Magento 1.8中查看评论的list.phtml中的评论数?
- 25. 查看来自Facebook评论框的所有评论的网址是什么?
- 26. GitHub的JIRA票集成:添加评论
- 27. 我如何检索我的GitHub评论
- 28. 如何区别github上的评论?
- 29. github自动生成的评论
- 30. “查看完整评论”链接在video.rates的评论文本中不显示
我不认为你可以看到你没有写的评论的Markdown来源。 – Chris