MdNode
extends Node
in package
implements
NodeOutputInterface
Markdown node
Table of Contents
Interfaces
- NodeOutputInterface
Properties
- $twigExtensionClass : string
- Ext class name
Methods
- __construct() : mixed
- Constructor
- compile() : void
- Compile node
Properties
$twigExtensionClass
Ext class name
protected
string
$twigExtensionClass
Methods
__construct()
Constructor
public
__construct(Node $body, string $twigExtensionClass[, array<string|int, mixed> $params = [] ][, int $line = 0 ][, string $tag = 'md' ]) : mixed
Parameters
- $body : Node
- $twigExtensionClass : string
- $params : array<string|int, mixed> = []
- $line : int = 0
- $tag : string = 'md'
compile()
Compile node
public
compile(Compiler $compiler) : void
Parameters
- $compiler : Compiler