diff options
author | http://kaizer.se/ <http://kaizer.se/@web> | 2009-09-17 15:38:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-09-17 15:38:40 -0400 |
commit | fc1cc57cdca9a7bdab41f0d63e34a98a2d7c78e5 (patch) | |
tree | 39a93ab0dc59d54a4d050ebabac2538d921dbe56 /doc | |
parent | 28f893d120633dbfd3e85f4063b90f255f058d9b (diff) | |
download | ikiwiki-fc1cc57cdca9a7bdab41f0d63e34a98a2d7c78e5.tar ikiwiki-fc1cc57cdca9a7bdab41f0d63e34a98a2d7c78e5.tar.gz |
about replacements in rst (renaming links)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn b/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn index c98723f2d..642382b47 100644 --- a/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn +++ b/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn @@ -18,6 +18,16 @@ Desing issues in general: We resolve rST links without definition, we don't help resolving defined relative links, so we don't support specifying link name and target separately. +> I found out this is possible by using rST subsitutions. So to do [[Version history...|releases]] +> you would use: +> +> `|releases|_` +> `.. |releases| replace:: Version history...` +> Which does not seem to have an inline replacement. Using non-resolved links there is the alternative: +> +> ``Version history <releases/>`_`. --ulrik [kaizer.se] + + Many other issues with rST are of course unresolved, but some might be solved by implementing custom rST directives (which is a supported extension mechanism). Patch follows: |