Code Monkey home page Code Monkey logo

plugin-highlightjs's People

Contributors

dacong-wu avatar guqing avatar johnniang avatar ruibaby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plugin-highlightjs's Issues

代码复制按钮的bug

会让代码块多出横向滚动条,而且鼠标放在横向滚动条上时会鬼畜。点击复制按钮又会莫名出现竖向滚动条。

使用的主题是Walker
代码块高亮主题atom-one-dark

halo 2.2 插件无法使用

halo 2.2 版本中,进入插件设置界面,点击保存,无反应,不生效,代码不高亮。

启用插件后未生效

使用的是默认的 earth 主题

启用插件后,看到js文件引用成功输出至HTML页面,但代码高亮未生效。

通过代码注入的方式添加 <script>hljs.highlightAll();</script> 后成功渲染。

不知道是不是因为 1.x 迁移的文章的缘故

文章内容代码部分如下:

<pre><code>some code...
        some code...
</code></pre>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.