hexo icon indicating copy to clipboard operation
hexo copied to clipboard

Add filter event for backtick code block

Open leesei opened this issue 8 years ago • 0 comments

Provides a easier way to extend language supported: https://github.com/hexojs/hexo-util/pull/13

Tag plugins can also handle the event so user can use both backtick and tag. Current implementations relied on before_post_render filter and internally look up backtick blocks, which is inefficient: https://github.com/bubkoo/hexo-filter-fenced-code https://github.com/akfish/hexo-math

Allows external highlighter: https://github.com/hexojs/hexo/issues/1300 and a whole bunch of highlight issues We can move Highlight.js code and css to hexojs/hexo-highlight-js plugin.

leesei avatar Apr 15 '16 05:04 leesei