LaTeX like macro for markdown

tl;dr: I made a simple macro system for my blog. Now I juste have to write %latex and it show as LaTeX.

I added a macro system for my blog system. When we are used to LaTeX this lack can be hard to handle. Particularly when using mathematical notations. In the header of my files I simply write:

In the body it will replace every occurrence of:

  • %test by Just a test,
  • and %latex by LaTeX.

The source code is really simple. For nanoc user, simply put this file in your lib directory.

Macros could be very useful, read this article for example.

Published on 2010-10-26
Follow @yogsototh
Yann Esposito©
Done with Vim spacemacs & nanoc Hakyll

ADA: DdzFFzCqrhtAvdkmATx5Fm8NPJViDy85ZBw13p4XcNzVzvQg8e3vWLXq23JQWFxPEXK6Kvhaxxe7oJt4VMYHxpA2vtCFiP8fziohN6Yp