Pastebin Shiki Highlighter Codeblocks for Markdown

Replace Pastebin code blocks in markdown mode with Shiki syntax highlighting and copy button

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.4.1 2025-09-24
    • added icon for copy button looks nicer
    • added a 1.5 second cooldown to copy button to avoid breaking if its being spammed
  • v1.4.0 2025-09-23
    • added language icons for common languages if you dont like it they can be disabled in code const by setting SHOW_DEVICONS = true; to false
    • cleaned up the const languages
    • some small css changes
  • v1.3.6 2025-09-19
    • added all language headers
    • copy button should become floating and sticky a bit less jumpy now
  • v1.3.2 2025-09-19
    • Changed CDN to jsdelivr.net
  • v1.3.1 2025-09-19

    - minor fix to make the header text not selectable forgot to add it

  • v1.3 2025-09-19

    - copy code button is now floating as you scroll inside the codeblock

  • v1.2 2025-09-18

    - alot faster, less white flashing (still a tiny bit when loading but a lot less)
    - only checks for stuff within .source.markdown div now to avoid accidetally messing with other parts of website

  • v1.1 2025-09-18

    - Removed version number for shiki so we always use latest instead of 3.0

  • v1.0 2025-09-18

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址