跳到内容

Pastacode

v3.0.1

Willy Bahuaud · 2013年10月10日 上架

Use Pastacode to add code into your posts with the awesome PrismJs coloration library. So, past'a code!

正在使用
400+
评分
4.9 / 5
累计下载
2.6 万
最近更新
2026年3月12日
14 条评价需要 WordPress 4.0+已测试到 6.9.12PHP 7.0+

截图

Edit your code with the Pastacode block
Edit your code with the Pastacode block
How it's renderer in editor (highlighted by Prism)
How it's renderer in editor (highlighted by Prism)
You can import a snippets hosted on many providers (gitlab, github…)
You can import a snippets hosted on many providers (gitlab, github…)
If you don't use block editor, you can use another UI, base on a tinyMCE plugin (work in the classic block, or with classic editor)
If you don't use block editor, you can use another UI, base on a tinyMCE plugin (work in the classic block, or with classic editor)
Here the Treeview lang, to share directory structure
Here the Treeview lang, to share directory structure

With Pastacode, you can easily add code into your posts with the awesome PrismJs coloration library.
You can insert source code into the post editor, wrinting it directly in the editor (using a gutenberg bloc or classic editor), from a file, or from webservices like GitHub, Gitlab, Gist, Pastebin, BitBucket or BitBucket snippets. Webservices responses are cached in order to avoid too many HTTP requests.
It also work in comments and bbPress topics and replies.

Don’t worry about posts updates while upgrading codes!

Pastacode allows to enhance your snippets using PrismJs plugins (highlightning lines, link functions…).

Third Party

Pastacode use some third party components

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums