]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/rst/discussion.mdwn
%W is not as weird as it looks at first glance
[ikiwiki.git] / doc / plugins / rst / discussion.mdwn
index af96edc6aee4734c457a4315570b9155c03aaaf9..c84a6218e37334c540174a47f1f0e2ab0996fc51 100644 (file)
@@ -50,8 +50,8 @@ Resolving WikiLinks in rst
 I wanted to look into if we can hook into rst and influence how links are resolved.
 It turns out it is possible, and I have a working WIP for the rst plugin that does this.
 
-My work in progress for `/usr/lib/ikiwiki/plugins/rst` is here: http://kaizer.se/wiki/rst.py  
-*Warning, written in the middle of the night just to test if it works!*
+My work in progress for `/usr/lib/ikiwiki/plugins/rst` is here: 
+[[todo/Resolve native reStructuredText links to ikiwiki pages]]
 
 It basically matches normal rst links just like ikiwiki would match a wikilink
 if it existed.
@@ -61,8 +61,8 @@ but the backlinks don't show up.
 
 I converted one of my pages to rst:
 
-Before: http://kaizer.se/wiki/kupfer-mdwn  
-After: http://kaizer.se/wiki/kupfer-rst  
+Before: <http://kaizer.se/wiki/kupfer-mdwn>  
+After: <http://kaizer.se/wiki/kupfer-rst>  
 
 I need help on a couple of points
 
@@ -71,3 +71,11 @@ I need help on a couple of points
 * Can we include this in ikiwiki's rst if it is not too hairy?
 
 --ulrik
+
+
+----
+
+> The main problem with more sophisticated RST support is that ikiwiki turns 
+preprocessor directives into raw HTML and reST hates inline HTML.
+
+Is it possible for ikiwiki to store preprocessor directives in memory, and replace them with place holders, then do the rst process.  After the rst processing, process the preprocessor directives and replace place holders.  --[[weakish]]