title: Transclude/Parameterised/ParseTreeNodes
description: Parameterised transclusion using the $parseTreeNodes attribute
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]

title: Output

\whitespace trim

<$transclude $tiddler='TiddlerOne' one='Ferret'>

This is a block

</$transclude>

<$transclude $tiddler='TiddlerOne'>
This is inline
</$transclude>
+
title: TiddlerOne

\whitespace trim
<$parameters $parseTreeNodes="@parseTreeNodes">
	<$text text=<<@parseTreeNodes>>/>
</$parameters>
+
title: ExpectedResult

<p>[{"type":"element","tag":"p","children":[{"type":"text","text":"This is a block","start":68,"end":83}],"start":68,"end":83}]</p><p>[{"type":"text","text":"This is inline","start":136,"end":152}]</p>