[wordpress插件] Code Snippets CPT代码片段CPT

wordpress 插件 文章 2020-03-26 17:30 477 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

A WordPress plugin for elegantly hosting, managing, and displaying code snippets.

一个WordPress插件,用于优雅地托管,管理和显示代码片段。

Own your own data!

拥有自己的数据!

Adds a custom post type for managing your code snippets with taxonomies for classifying the snippets.

添加自定义帖子类型,以使用分类法来管理代码片段,以对代码片段进行分类。

Embed snippets with syntax highlighting to posts or pages via a handy shortcode insert button that allows you to pick from the most recent snippets.

通过方便的短代码插入按钮将带有语法突出显示的代码片段嵌入到帖子或页面中,使您可以从最新的代码片段中进行选择。

Syntax highlighting provided by the Prettify javascript library and the 美化JavaScript库

c9.io/" rel="nofollow">Ace Editor.

c9.io/“ rel =” nofollow“> Ace编辑器。

Features:

功能:

    • Host your own snippet library.
    • 托管您自己的代码段库。

    • Button for easy-copying of snippet (disable with: add_filter( 'dsgnwrks_snippet_do_click_to_copy', '__return_false' )).
    • 用于轻松复制代码段的按钮(可通过以下代码禁用: add_filter('dsgnwrks_snippet_do_click_to_copy','__return_false'] )。

    • Button to enable full-screen snippet view (disable with: add_filter( 'dsgnwrks_snippet_enable_full_screen_view', '__return_false' )).
    • 用于启用全屏摘要视图的按钮(可通过以下方式禁用: add_filter('dsgnwrks_snippet_enable_full_screen_view','__return_false')。

    • Two frontend render engines, prettify (with 2 themes) or Ace (with 32 themes).
    • 两个前端渲染引擎,prettify(具有2个主题)或Ace(具有32个主题)。

    • WordPress editor shortcode button for embedding snippets in your content, and creating/editing those snippets on the fly.
    • WordPress编辑器简码按钮,用于在您的内容中嵌入代码片段,并即时创建/编辑这些代码片段。

    • Live (tinymce) previews of the snippets in your content editor.
    • 内容编辑器中片段的实时(精简)预览。

    • Programming language picker (for syntax).
    • 编程语言选择器(用于语法)。

    • Snippet tags and categories.
    • 代码段和类别。

    Feel free to fork or contribute on Github.

    随时分叉或在Github上贡献力量

下载地址
https://downloads.wordpress.org/plugin/code-snippets-cpt.zip
-EOF-

AI助手支持GPT4.0