positron48/prism-code-highlight
Composer 安装命令:
composer require positron48/prism-code-highlight
包简介
Prism syntax highliter extension for Bolt.
README 文档
README
The Bolt extension automatically add prism syntax highliter on your site.
Current build of prism here.
Enabled languages:
- markup
- css
- clike
- javascript
- arduino
- bash
- c
- csharp
- cpp
- dart
- dns-zone-file
- docker
- gcode
- git
- go
- graphql
- http
- java
- javadoclike
- log
- lua
- makefile
- markdown
- markup-templating
- nginx
- php
- phpdoc
- php-extras
- processing
- python
- scheme
- sql
- twig
- uri
Enabled plugins:
- line-numbers
- toolbar
- copy-to-clipboard
Install
composer require positron48/prism-code-highlight
Config is available on config/extensions/positron48-prismcodehighlight.yaml.
You can enable or disable prism on backend (admin pages) and frontend separately.
Customization
You can also make your own build and rewrite css and js file at /assets/prism-code-highlight/ after installation of extension.
统计信息
- 总下载量: 53
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-10