项目介绍
withspectrum/draft-js-prism-plugin 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 48 个 Star、6 次 Fork。
- 仓库全名
- withspectrum/draft-js-prism-plugin
README 摘要
draft-js-prism-plugin A DraftJS plugin to add syntax highlighting support to your code blocks. Use in combination with draft-js-plugins. Usage First, create the plugin and add it to the plugins array of your PluginsEditor: Now add a language key to the data of the code block you want to highlight: License This code uses the draft-js-prism decorator by @SamyPesse and is based on code extracted from the…
完整内容见 GitHub 原始 README 或本页 。
常见问题
draft-js-prism-plugin 用什么语言开发?
主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 48 个 Star。
draft-js-prism-plugin 可以免费商用吗?
仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。
如何获取 draft-js-prism-plugin 的源码?
可以直接克隆仓库:git clone https://github.com/withspectrum/draft-js-prism-plugin.git,默认分支为 master;安装与运行步骤见仓库 README。
draft-js-prism-plugin 最近还在维护吗?
仓库最近一次更新为 2021年7月4日,当前有 4 个未关闭 Issue;Star 数为 48,可作为社区活跃度的参考。
评论