diff options
author | Ulrik Sverdrup <ulrik.sverdrup@gmail.com> | 2009-09-30 21:59:11 +0200 |
---|---|---|
committer | Ulrik Sverdrup <ulrik.sverdrup@gmail.com> | 2009-09-30 21:59:11 +0200 |
commit | f8ad5988da8676bfeff6db9375f2518a12f79a48 (patch) | |
tree | a187cc1f8cdba09426d546f7a22ed6f28eb95c6c | |
parent | e7de3f0762d9b9ae64bd40d9fe07b00d9d6dc4d7 (diff) | |
download | ikiwiki-f8ad5988da8676bfeff6db9375f2518a12f79a48.tar ikiwiki-f8ad5988da8676bfeff6db9375f2518a12f79a48.tar.gz |
clarifications. and indent one of joey's oneliner responses.
-rw-r--r-- | doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn | 19 |
1 files changed, 18 insertions, 1 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 bee57f7e7..084f03304 100644 --- a/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn +++ b/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn @@ -79,6 +79,14 @@ be very convenient. > Did you consider just including the global rst header text into an item > in the setup file? --[[Joey]] +> +>> Then `rst_header` would not be much different from the python script +>> `rst_customize`. rst_header is as safe as other files (though disruptive +>> as noted), so it should/could be a editable file in the Wiki. A Python +>> script of course can not be. There is nothing you can do in the +>> rst_header (that you sensibly would do, I think) that couldn't be done in +>> the Python script. `rst_header` has very limited use, but it is another +>> possibility, mainly for the user-editable aspect. --[[ulrik]] Some rst-custom [examples are here](http://kaizer.se/wiki/rst_examples/) @@ -148,6 +156,15 @@ picture before it. >>> the time, but ikiwiki's [[ikiwiki/subpage/linkingrules]] >>> are sufficiently different from normal html relative link >>> rules that it often won't work. --[[Joey]] +>>> +>>>> With degradation I mean that if you take a file out of the wiki; the +>>>> links degrade to stylized text. If using default role, they degrade to +>>>> :title: which renders italicized text (which I find is exactly +>>>> appropriate). There is no way for them to degrade into links, except of +>>>> course if you reimplement the :wiki: role. You can also respecify +>>>> either the default role (the `wikilink` syntax) or the :wiki: role (the +>>>> :wiki:`wikilink` syntax) to any other markup, for example None. +>>>> --[[ulrik]] >> >> The named link syntax (just like the :wiki: role) are inspired from trac >> and a good fit, but only if the wiki is committed to using only rst, @@ -226,7 +243,7 @@ Perl I've ever written!_) >> Well, no idea how that would be expressed, but I mean, replace the indent >> directly in $handle's return value. >> ->> Yes, in effect just `indent($1, handle->($2,$,4))` --[[Joey]] +>>> Yes, in effect just `indent($1, handle->($2,$,4))` --[[Joey]] >> >> The indent-catching regex is wrong in the way you mention, it has been >> nagigng my mind a bit as well; I think matching start of line + spaces |