【问题标题】:Github README suddenly not appearing properlyGithub README 突然无法正常显示
【发布时间】:2017-03-18 15:48:16
【问题描述】:

README.md 文件突然无法正确显示在我托管在 Github 上的存储库中。

https://github.com/kensplanet/dev-dictionary

【问题讨论】:

    标签: github markdown github-flavored-markdown


    【解决方案1】:

    不要在 HTML 中放置 markdown。

    您使用<kbd></kbd> 包装降价图像,而不是在其他 HTML 中使用 HTML <img> 标记。这就是为什么您看到的是文字而不是图像。

    此外,尽可能使用 markdown 而不是 HTML,因为 markdown 处理器经常会出错。

    这是更正后的降价文件:

    <h1 align="center">Dev Dictionary</h1>
    <p align="center">Find information on any technology</p>
    <kbd><img src="https://cloud.githubusercontent.com/assets/4705188/20508600/ac62b414-b030-11e6-9dfe-691a6a3250fd.png" alt="image">
    </kbd>
    
    ## Overview
    This is the repository of **Dev Dictionary**, a Chrome Extension to help developers find information on any technology. It can be installed through the [Chrome Web Store](https://chrome.google.com/webstore/detail/dev-dictionary/mbhildcgplbobgnhgnihmeiaokhdaelf).
    
    ## Development
    * For more information regarding development of Chrome extensions, see [Getting Started: Building a Chrome Extension](https://developer.chrome.com/extensions/getstarted)
    * For more information regarding Chrome extension APIs, see [Chrome Platform APIs](https://developer.chrome.com/extensions/api_index)
    
    ## Libraries
    * [React](https://facebook.github.io/react/)
    * [Redux](http://redux.js.org/)
    * [Webpack](https://webpack.github.io/)
    * [Node JS](https://nodejs.org)
    * [Bootstrap](http://getbootstrap.com/)
    * [jQuery](https://jquery.com/)
    

    【讨论】:

    • 成功了。谢谢。它曾经在上个月工作。不确定最近是否引入了一些更改。
    • "不确定最近是否引入了一些更改。"事实上,GitHub Flavored Markdown adopted a formal spec on March 14 会改变某些页面的呈现方式。我注意到它们现在在打开 ATX 样式的标头标记(即 # Header 而不是 #Header)后需要一个空格,我认为这是一个很好的改变。我确定还有其他人。
    猜你喜欢
    • 2021-09-19
    • 2021-09-24
    • 2021-12-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多