我用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
Run Code Online (Sandbox Code Playgroud)
你可以在Github上查看我的网站页面,他们甚至在那里工作!https://github.com/joshuahouston/joshuahouston.github.io/blob/master/_posts/2014-12-10-the-emoji-test.markdown
你知道我错过了什么吗?为什么网站没有正确生成页面,而是在其他地方正确生成?谢谢.