I may end up doing that. That sort of thing gets in the way of the creative process. Even now in TT2 I have to escape dollar signs when I want a dollar sign. That's another thing to fix.
I like writing in Markdown. All the yuck in my template is in and INCLUDE HEADER. My basic web page has 3 directives at the top, 3 at the bottom and the rest is markdown. Mind you HEADER.INC is 200 lines of TT2 and there are another pair of 200 line perl programs that do some pre-processing. I was hoping to be able to do this by adding another FILTER to the stack. Respectfully, Sherwood of Sherwood's Forests On 25 March 2016 at 02:46, Johan Vromans <jvrom...@squirrel.nl> wrote: > On Thu, 24 Mar 2016 21:18:08 -0600 > Sherwood Botsford <sgbotsf...@gmail.com> wrote: > > > I was hoping for a little bit more comprehensive solution. Even > > SmartyPants doesn't get it all correct. > > Warning: This is not an answer to your question although it may help... > > I find it easy to input the typographical quotes (‘single’ “double” > even ‚oldstyle’) while typing, using one of the compose-key input > mechanisms. The same goes for accented letters (á ë ø) and some other stuff > (€ ☺). > > For software that cannot handle UTF-8 encoded, I have a TT filter that > replaces non-ascii characters by their &ent; counterparts. > > -- Johan > > _______________________________________________ > templates mailing list > templates@template-toolkit.org > http://mail.template-toolkit.org/mailman/listinfo/templates >
_______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates