=== Documents from Git === Contributors: nilsnolde Plugin Name: Documents from Git Plugin URI: https://github.com/gis-ops/wordpress-markdown-git Tags: markdown,jupyter,notebook,github,bitbucket,gitlab,vcs Author URI: https://gis-ops.com Author: GIS-OPS UG Requires at least: 5.0.0 Tested up to: 5.3.2 Requires PHP: 7.0 Stable tag: 1.0.0 Version: 1.0.0 License: GPLv3 License URI: https://github.com/gis-ops/wordpress-markdown-git/blob/master/LICENSE A plugin to inject files directly into a post from popular Git platforms. Currently supported file types: Markdown. Currently supported platforms: Github, Bitbucket. == Description == This WordPress Plugin lets you easily publish, collaborate on and version control your \[**Markdown, Jupyter notebook**\] documents directly from your favorite remote Git platform, **even if it's self-hosted**. The advantages are: - Write documents in your favorite editor and just push to your remote repository to update your blog instantly - Use the power of version control: publish different versions of the document in different posts, i.e. from another branch or commit than latest `master` - Easy to update by external users via pull requests, minimizes the chance of stale tutorials The following document types are currently supported: - Markdown - Jupyter notebooks (**only for public repositories**) The following platforms are currently supported: - Github - Bitbucket - Gitlab ## Usage ### Shortcodes The plugin features a variety of shortcodes. #### Publish documents The document-specific shortcodes follow a pattern of `[git--]`, where - `` can be one of - `github`: if you use Github as your VCS platform - `bitbucket`: if you use Bitbucket as your VCS platform - `gitlab`: if you use Gitlab as your VCS platform - `` can be one of - `markdown`: Render your Markdown files hosted on your VCS platform in Github's rendering style - `jupyter`: Render your Jupyter notebook hosted on your VCS platfrom (**only for public repositories**) - `checkout`: Renders a small badge-like box with a link to the document and the date of the last commit - `history`: Renders a `

` section with the last commit dates, messages and authors #### Manipulate rendering style Additionally, there's an enclosing shortcode `[git-add-css]` which adds a `