Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 813 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 813 Bytes

embed-gh-md

This is a simple Wordpress plugin that allows us to embed markdown files from GitHub on a page, simply by pasting the file's URL onto any page. It is a small adaptation of the code presented in ths blog post.

Installation

You cannot use the Download ZIP button on the GitHub web interface unfortunately, because the parsedown submodule won't get downloaded. Instead, you should:

  1. Clone the repository
  2. Zip using the command line as follows (if you use the graphical interface of GNOME's / macOS' file explorer, you'll get an error on upload):
    zip -r embed-gh-md.zip embed-gh-md
    
  3. Upload from the admin panel at /wp-admin/plugin-install.php.