johnie / embedgithub
This package is abandoned and no longer maintained.
No replacement package was suggested.
Simply embed Github Readme or Changelog to page or post
v1.0.1
2015-01-25 21:07 UTC
Requires
- php: >=5.3.0
- composer/installers: ~1.0
- michelf/php-markdown: 1.4.x-dev
This package is not auto-updated.
Last update: 2023-07-30 12:11:21 UTC
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