So I’ve put together a couple of plugins for Radiant, which plugins
provide some global tags. Now I’d like to write about these tags on
my Radiant-powered web site.
That is, I’d like to be able to write something like:
without the <r:blah> tag being executed and replaced by its output.
The <r:escape> tag doesn’t help, since the <r:blah> tag gets expanded
first, then its output is escaped.
I was thinking of creating a simple “echo” tag, like
tag “echo” do |tag|
but obviously there’s no “contents” property (or “body” or “text” or
any other variation I could think of). I’ve looked through radius.rb,
and page_context.rb, but don’t see a way.
If someone could point me in the right direction, I’m happy to do the
work. I just don’t know where to start . . .