Re: Multimarkdown
Richard Thomas <[email protected]> Sat, 25 Jan 2014 11:30:40 +1100
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
On 25 Jan 2014, at 9:06 am, Sherwood Botsford <[email protected]> wrote: > > For years I've used an older version of multimarkdown. Now it is no longer a perl program but a binary. > > I am not much of a programmer, and my limited programming is procedural and not object oriented. > > I build my website with ttree and simple scripts. > > Would someone point me to a simple explanation of what I go through to use an external program as a filter, and which files I need to edit. I've found an example of one calling an external perl program, but it wasn't clear to me if the modifcations were made in the template, in ttree or in some other file. > > Thanks! > Hi Sherwood, Are you using a plug-in to handle the MultiMarkdown parsing, or doing something else? I use [Template::Plugin::MultiMarkdown](https://metacpan.org/pod/Template::Plugin::MultiMarkdown), which supports the XS version of MM - in fact it uses it by default. And you use it like this in your template(s): [% USE MultiMarkdown %] … [% FILTER multimarkdown %] ### My Markdown. Here’s my **MultiMarkdown** text. [% END %] … Hope that’s helpful. cheers RET