Hongzheng
Hongzheng

Reputation: 385

how to enable MACRO feature in the Dokuwiki <code> block

I am using the textinsert plugin to perform macro functionality in Dokuwiki.

It works for most of the occasion but failed in the <code> block. The macro syntax #@MACRO_HTML@# output as-is and this behavior is not favorable.

#@MACRO_HTML@#

The idea behavior should be that the #@MACRO_HTML@# is replaced with text like "this is the favorable text" in the wiki page.

this is the macro text

Please show me a way to enable macro functionality within the <code> block for Dokuwiki.

Upvotes: 1

Views: 287

Answers (1)

gturri
gturri

Reputation: 14599

Looking at the code of Dokuwiki, we see that the <code> mode doesn't accept any other mode.

Hence it's not possible to use another plugin inside a <code> block.

Upvotes: 2

Related Questions