aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://kaizer.se/ <http://kaizer.se/@web>2009-09-17 16:44:33 -0400
committerJoey Hess <joey@kitenet.net>2009-09-17 16:44:33 -0400
commit2fc62b2787d43b91e946862910497d823eb86418 (patch)
treea57c3d0da47e62f637ed5d56458399b33fc0773e
parentb7db2ca37f400e09a663b01800e3bc5477a304df (diff)
downloadikiwiki-2fc62b2787d43b91e946862910497d823eb86418.tar
ikiwiki-2fc62b2787d43b91e946862910497d823eb86418.tar.gz
raw escape with roles
-rw-r--r--doc/bugs/rst_tweak.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/rst_tweak.mdwn b/doc/bugs/rst_tweak.mdwn
index 9d433e24e..8667a459b 100644
--- a/doc/bugs/rst_tweak.mdwn
+++ b/doc/bugs/rst_tweak.mdwn
@@ -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]