2017 © Pedro Peláez
 

silverstripe-module silverstripe-textile-parser

Textile Parser for SilverStripe 3

image

axllent/silverstripe-textile-parser

Textile Parser for SilverStripe 3

  • Tuesday, February 6, 2018
  • by axllent
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Textile Parser for SilverStripe 3

Extension to add optional Textile parsing to StringField objects in templates, such as Text & Varchar., (*1)

It includes/uses the PHP Textile class from netcarver/textile, (*2)

Requirements

  • SilverStripe 3.*

Options

In mysite/_config.php, (*3)

TextileParser::$doctype = 'xhtml'; // Use xhtml instead of html5
TextileParser::$use_restricted = false; // Use regular parser instead of restricted one (adds more features)

Usage

It is designed to be used in your templates where needed, such as:, (*4)

// convert the value into HTML, and convert raw web & email links into html links
$MyTextField.Textile

// which will convert the value into HTML, but leave links & emails as plain text
$MyTextField.Textile(0)

The Versions

06/02 2018

dev-master

9999999-dev https://github.com/axllent/silverstripe-textile-parser

Textile Parser for SilverStripe 3

  Sources   Download

MIT The MIT License (MIT) Custom

The Requires

 

parser silverstripe

12/06 2014

1.0.0

1.0.0.0 https://github.com/axllent/silverstripe-textile-parser

Textile Parser for SilverStripe 3

  Sources   Download

The MIT License (MIT) Custom

The Requires

 

parser silverstripe