library transphporm-xmarkdown-module
solleer/transphporm-xmarkdown-module
- Thursday, March 16, 2017
- by solleer
- Repository
- 1 Watchers
- 1 Stars
- 22 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 47 % Grown
Transphporm-XMarkDown-Module
An extension for Transphporm that uses XMarkDown to process markdown, (*1)
Purpose
It allows you to have stuff edited in markdown and added into a document easily through Transphporm., (*2)
Setup
Simply include the files in the src folder or set it up with your autoloader to use
The extension depends on Level2\XMarkdown so you must ensure that the library is available
To extend Transphporm you must load the module, (*3)
$template = new \Transphporm\Builder("test.xml", "test.tss"); // Create tranphporm instance. It doesn't matter how
// Add on the module
$template->loadModule(new \TransphpormXMarkDown\Module);