Fatdown
abstract class Fatdown extends Bundle
Properties
static protected Parser | $parser | ||
static protected Renderer | $renderer |
Methods
static Renderer
getRenderer()
Return a new instance of s9e\TextFormatter\Renderer
static string
getJS()
Return the source of the JavaScript parser if available
static string
parse(string $text)
Parse given text using a singleton instance of the bundled Parser
from
Bundle
Details
at line 114
static Parser
getParser()
Return a new instance of s9e\TextFormatter\Parser
at line 122
static Renderer
getRenderer()
Return a new instance of s9e\TextFormatter\Renderer
at line 25
static string
getJS()
Return the source of the JavaScript parser if available
in
Bundle at line 72
static string
parse(string $text)
Parse given text using a singleton instance of the bundled Parser
in
Bundle at line 96
static string
render(string $xml, array $params = [])
Render an intermediate representation using a singleton instance of the bundled Renderer
in
Bundle at line 125
static void
reset()
Reset the cached parser and renderer
in
Bundle at line 137
static string
unparse(string $xml)
Transform an intermediate representation back to its original form