I am making a documentation page in dust.js.
Part of the documentation is to show the partial code without it being rendered.
I have tried to make a helper for this
{dust}
{@partial}...{/partial}
{dust}
But this doesn't seem to be the right approach.
Any help would be appreciated. Thanks
Part of the documentation is to show the partial code without it being rendered.
You should replace {
and }
by {~lb}
and {~rb}
so they are not parsed by Dust