orgmode-mediawiki
orgmode-mediawiki copied to clipboard
Looking to extend this backend to support "templates", requesting help/advice
I'm trying to use org-mode to export org documents to mediawiki for the gentoo wiki. It uses "templates" for various code blocks, for example
{{Cmd|echo "a command"}}
{{RootCmd|echo "a root command"}}
This ends up looking like this.
My question is: Can I already achieve this using orgmode-mediawiki? Or is extending it to add support for these templates required. If it does require extending, how should I go about doing it? I'm an org noob, so this may be not possible, but I was thinking something like this:
#+begin_src bash :template "Cmd"
echo "this is a command"
#+end_src
Output:
{{Cmd|echo "This is a command"}}
Is this possible? Any pointers or tips?