定制 johnie/embedgithub 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

johnie/embedgithub

最新稳定版本:v1.0.1

Composer 安装命令:

composer require johnie/embedgithub

包简介

Simply embed Github Readme or Changelog to page or post

README 文档

README

Simply embed GitHub Readme or any other markdown file to page or post

Getting started

This should be installed with Composer since it has dependencies:

$ composer require johnie/embedgithub

Usage

Shortcode

Simply get the repo readme file

[embedgithub repo="johnie/embedgithub"]

You can also trim lines from the top of the readme using the trim option:

[embedgithub repo="johnie/embedgithub" trim="3"]

This is useful for removing titles since your page/post will most likely already have one.

You can also specify a markdown file using the file option, e.g. "changelog.md"

[embedgithub repo="johnie/embedgithub" file="changelog.md"]

Licence

MIT © Johnie Hjelm

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-25