I am translating LaTeX to html and would like to be able to define a new command with an optional argument and use it.  For example
```
\newcommand{\ittakestwo}[2][defaultone]{#2}

...

\ittakestwo[to]{tango} will eval to "tango"
```
Is this possible?   I wasn't able to make it work...

-- Umut

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/53d8f342-01c5-421c-854f-65685c34bfee%40googlegroups.com.