[dokuwiki] Re: inline code

  • From: Michael Hamann <michael@xxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 12 Oct 2019 22:15:54 +0200

Hi,

Fourhundred Thecat <400thecat@xxxxxx> writes:

I know that I can use following syntax for "inline code"

  ''%%foo%%''

if I wanted to use `foo` instead (or additionally), where would I have
to define it ?

The markdowku plugin [0] defines this syntax along many other things. The
plugin is not developed anymore (unfortunately), but you could easily
place the "codespans1" syntax [1] it defines this `foo` syntax into your
own syntax plugin. Note that you need to rename the class and the syntax
if you put this into your own plugin. I would suggest to create a plugin
using the plugin wizard [2] and then just replace the respective parts
of the syntax plugin.

Best regards,
Michael

[0]: https://www.dokuwiki.org/plugin:markdowku
[1]:
https://vcs.in-berlin.de/schrank21_dokuwiki/artifact/f144c9b05a525147
[2]: https://pluginwiz.dokuwiki.org/
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: