I am trying to create a workflow in which a single Markdown source document will spit HTML and LaTex friendly Markdown files. Since my content editor uses PC I need him to work on source document but also able to see output in HTML or LaTeX.
I am looking for a simple macro expanding software which will process my macros and create necessary doc both in Linux and Windows.
Mock example
My Source Markdown File
{@ verse @}
| first line
| second line
{@ verse @}
OUTPUT
HTML-friendly Markdown LaTex Friendly Markdown
<div id="" class="verse"> \begin{verse}
| first line | first line
| second line | second line
</div> \end{verse}
In short
The macro expanding software should be:
- Simple
- Available in Linux and Windows