texnixe/kirby3-codepen 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

texnixe/kirby3-codepen

Composer 安装命令:

composer require texnixe/kirby3-codepen

包简介

Kirby 3 plugin providing a KirbyTag for CodePen embeds

README 文档

README

GitHub release License Kirby 3 Pluginkit

Kirby 3 CodePen embed

This plugin provides a shortcode (KirbyTag) for embedding CodePens in your text.

Commercial Usage

This plugin is free but if you use it in a commercial project please consider

Installation

Download

Download the files and place them inside site/plugins/kirby-codepen.

Git Submodule

You can add the plugin as a Git submodule.

$ cd your/project/root
$ git submodule add https://github.com/texnixe/kirby3-codepen.git site/plugins/kirby-codepen
$ git submodule update --init --recursive
$ git commit -am "Add Kirby CodePen plugin"

Run these commands to update the plugin:

$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive

Composer

composer require texnixe/kirby3-codepen

Usage

The CodePen Id is required.

(codepen: jwGBh)

Options

Config options

You can set the following default options in your config.php:

'texnixe.codepen.preview'    => true;
'texnixe.codepen.height'     => 300;
'texnixe.codepen.themeId'    => 1
'texnixe.codepen.defaultTab' => 'js,result'

Tag options

You can overwrite the config options in the KirbyTag, e.g.

(codepen: jwGBh height: 250)

In addition to the above settings, the following options are available:

  • user : default ''
  • title: default ''

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you encounter any problem, please create an issue.

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固