raw escape with roles

master
http://kaizer.se/ 2009-09-17 16:44:33 -04:00 committed by Joey Hess
parent b7db2ca37f
commit 2fc62b2787
1 changed files with 9 additions and 0 deletions

View File

@ -41,3 +41,12 @@ what is supposed to happen? --Peter
> That's why the [[plugin_page|plugins/rst]] has its note about
> issues with wikilinks and directives. You'd have to put those inside
> raw directives yourself to avoid rst escaping their result. --[[Joey]]
You can also create a raw "role" which is at least easier than raw directives.
.. role:: ikiwiki(raw)
:format: html
:ikiwiki:`\[[WikiLink]]`
A role assigns meaning to interpreted text (for example :acronym:`ABC`) or :PEP:`8`. --ulrik [kaizer.se]