ERB - template tags in format of
<% ... %>
Building a JS template engine in just 20 lines
quora: What is the best
node.js template engine? - one answer contains a long, list of links.
I’ve been writing a custom template engine, essentially, for a text projects.
UPDATE 2014.11: yeah, writing my own template engine was fruitless. I never used it. I’m using underscore, now.
Your tags should not be something that commonly appear in the sourcetext.
For example --
-- -- double-dashes in plaintext are fairly common.
However, the ScrewTurnWiki engine uses double-dashes to start and stop strikeout.
No comments yet.