Skip to content

uniter/markdown-plugin-example

Repository files navigation

PHP Markdown plugin example

An example of how to use Uniter's experimental inline PHP Markdown plugin.

Usage

Setup

$ git clone https://github.com/uniter/markdown-plugin-example.git
$ npm ci
$ composer install

Command line test

$ npm start

You should see the expected output:

Here is your Markdown HTML:
<h3>My intro</h3><ul><li>Firstly, hello <em>Archie</em>, how are <em>you</em>?</li><li>Secondly, just where exactly did you go?</li></ul> 

Browser test

$ npm run build:browser:dev
$ open index.html

You should see the Markdown document rendered on the page.