Pandoc filter that causes emphasized text to be rendered using the custom macro \myemph{...} rather than \emph{...} in LaTeX. Other output formats are unaffected.
\myemph{...}
\emph{...}
pandoc --filter myemph.pl -o output.html < input.md
This is a port of myemph.py from Python to Perl with Pandoc::Elements and Pandoc::Filter.
To install Pandoc::Elements, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pandoc::Elements
CPAN shell
perl -MCPAN -e shell install Pandoc::Elements
For more information on module installation, please visit the detailed CPAN module installation guide.