2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

image

pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  • Sunday, April 22, 2018
  • by pstaender
  • Repository
  • 1 Watchers
  • 1 Stars
  • 338 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

Markdown Parser for SilverStripe

Converts any string field to Markdown and vice versa., (*1)

Requirements

  • Silverstripe 4+

Installation

Install with composer:, (*2)

  $ composer require pstaender/silverstripe-markdown-parser

Usage

After flushing your cache you can use the convertes in any template:, (*3)

<article>
  $Content.markdown
  $Content.markdownExtra
  <p>
    $Title.inlineMarkdown
  </p>
  <p>
    $Title.inlineMarkdownExtra
  </p>
  <pre>
  $MyHTMLContent.htmlToMarkdown
  </pre>
</article>

Configuration

Every converting should work as expected out of the box., (*4)

Under the hood the parsers Parsedown, ParsedownExtra and League\HTMLToMarkdown\HtmlConverter are used for conversion. Anyhow, if you need to different parsing options you can hook any parser with a custom Injector configuration., (*5)

License

MIT License, (*6)

The Versions

22/04 2018

dev-master

9999999-dev https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2 GPL-2.0-only

The Requires

 

by Philipp Staender

parser markdown silverstripe

22/04 2018

0.2.1

0.2.1.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GPL-2.0-only

The Requires

 

by Philipp Staender

parser markdown silverstripe

09/04 2018

dev-ss3

dev-ss3 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GPL-2.0-only

The Requires

 

by Philipp Staender

parser markdown silverstripe

07/04 2018

0.2.0

0.2.0.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GPL-2.0-only

The Requires

 

by Philipp Staender

parser markdown silverstripe

07/04 2018

dev-ss4

dev-ss4 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GPL-2.0-only

The Requires

 

by Philipp Staender

parser markdown silverstripe

15/01 2017

0.1.2

0.1.2.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

 

by Philipp Staender

parser markdown silverstripe

15/01 2017

0.1.1

0.1.1.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

 

by Philipp Staender

parser markdown silverstripe

21/09 2014

0.1.0

0.1.0.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

  • php >=5.2.0

 

by Philipp Staender

parser markdown silverstripe

03/05 2014

0.0.4

0.0.4.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

  • php >=5.2.0

 

by Philipp Staender

parser markdown silverstripe

16/03 2014

0.0.3

0.0.3.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

 

by Philipp Staender

parser markdown silverstripe

16/03 2014

0.0.2

0.0.2.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

 

by Philipp Staender

parser markdown silverstripe

19/01 2014

0.0.1

0.0.1.0 https://github.com/pstaender/silverstripe-markdown-parser

Markdown parsing in SilverStripe templates

  Sources   Download

GNU GENERAL PUBLIC LICENSE v2

The Requires

 

by Philipp Staender

parser markdown silverstripe