pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

0.2.1 2018-04-22 17:40 UTC

README

Use markdown parsing (including GitHub flavored markdown) in your SilverStripe templates.

Requirements

  • Silverstripe 4+

Installation

Install with composer:

  $ composer require pstaender/silverstripe-markdown-parser dev-master

Flush SilverStripe cache via /?flush=all bevore first usage.

Usage

Now you can convert any String to HTML with:

  <h1>$Title</h1>
  <section>
    $Content.Markdown
  </section>

TODO

  • tests

Copyright and License

This module is under the GNU General Public License v2.