0%

不切换渲染器添加emoji的方法

不切换渲染器添加emoji的方法

学习自 原作者链接

  • 方法一 直接复制粘贴emoji
    点击这里

  • 方法二 安装插件hexo-filter-github-emojis

    1. 安装插件
    1
    npm install hexo-filter-github-emojis --save
    1. 重启Hexo服务器
    1
    hexo clean && hexo s

    如果不习惯使用::表示emoji,可以用这种方法代替
    ,如果需要不解析这种语法,在markdown前面的字段添加no-emoji: true即可,这种方法相比之下更加灵活

    用法参考Github-emoji-APIemoji-cheat-sheet