[dokuwiki] Re: Using DokuWiki_Plugin::render_text() to generate small piece of xhtml from some wiki template

  • From: "Zen-Do.Ru" <admin@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 20 Oct 2016 00:47:50 +0300

Be healthy, Dmitry!

20.10.2016 0:08, Dmitry Katsubo (Redacted sender dma_k for DMARC) пишет:

I have a need to generate small piece of HTML in
DokuWiki_Syntax_Plugin::render() function. I have found the function
DokuWiki_Plugin::render_text(), which I supposed I could use as following:

What is the point to use render_text()?
What is the purpose that you want to achieve?

- If we want to change *document source*, we can use JS, such as custom editor toolbar buttons.

- To add some output to HTML, we can change template.

- And, we can define some syntax constructions that a parser would translate from doc source into some new HTML.

Cheers
-- Alex

--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: