【发布时间】:2014-12-11 08:54:12
【问题描述】:
我用 Jekyll 在 Github 页面上建立了一个网站。最近我尝试运行一个 emoji_for_jekyll 插件。当我在本地构建和运行该站点时,它似乎可以工作。但是,当我提交并在线查看时,表情符号消失了,剩下的就是语法 (:smile:)
这是我网站上的一个页面http://jfact0ry.com/code/2014/12/10/the-emoji-test.html
这是我关注的资源。这 3 个步骤似乎很容易。
Install the emoji_for_jekyll gem:
gem install emoji_for_jekyll
Add emoji_for_jekyll to the list of gems in config.yml:
gems: ["emoji_for_jekyll"]
See beautiful emoji!
or
Copy emoji_for_jekll.rb and emoji.json into the _plugins directory
您可以在 Github 上查看我网站的页面,他们甚至可以在那里工作! https://github.com/joshuahouston/joshuahouston.github.io/blob/master/_posts/2014-12-10-the-emoji-test.markdown
你知道我错过了什么吗?为什么没有为站点正确生成页面但在其他地方正确生成的页面?谢谢。
【问题讨论】: