diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 19:25:08 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 19:25:08 +0000 |
commit | a223f4540fee2d0c49523343a422315377bc0025 (patch) | |
tree | d6c52e405efb5baf245c99d1f4dd5f5dc9ecc25b /doc | |
parent | f5a5df14b7daeb032137c293c4db288e84429dfa (diff) | |
download | ikiwiki-a223f4540fee2d0c49523343a422315377bc0025.tar ikiwiki-a223f4540fee2d0c49523343a422315377bc0025.tar.gz |
support arbitrary characters in page titles, via some ugly use of unicode
character numbers
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo.mdwn | 7 | ||||
-rw-r--r-- | doc/wikilink.mdwn | 10 |
2 files changed, 11 insertions, 6 deletions
diff --git a/doc/todo.mdwn b/doc/todo.mdwn index 7926fd954..f01753e33 100644 --- a/doc/todo.mdwn +++ b/doc/todo.mdwn @@ -100,15 +100,10 @@ Requirements: * Need to keep track of the globlists in the index file. - Probably need to redesign the index file format to allow for this sort of future expansion. -* Need to make _ render as " " in page titles. -* Also need to support as much other punctuation as possible in page - titles, ideally all of it. Punctuation that is illegal in filenames for - various good reasons should be embedded encoded in the filenames. Blogs - tend to have more punctuation-intensive page titles than wikis. * Need to pick a good token and note that the token will need to be passed multiple parameters. Possibly something like this: - [[rss pages="myblog/*" show="30"]] + [[embed pages="myblog/*" show="30"]] ## revisit case diff --git a/doc/wikilink.mdwn b/doc/wikilink.mdwn index ac0ec9d56..1da5fb64d 100644 --- a/doc/wikilink.mdwn +++ b/doc/wikilink.mdwn @@ -11,5 +11,15 @@ play when linking between [[SubPage]]s. WikiLinks can be entered in any case you like, the page they link to is always lowercased. +While a WikiLink is limited to alphanumerics and only a few special +charaters, it is possible to create page names containing other characters: + +* To display a page name with a space in it, use "_" in the WikiLink, for + example, [[Multi_Word_Page_Name]]. +* For any other special character, you can use "__nnnn__" where `nnnn` is the + unicode character number. For example, + [[This_page_name_is__44___uselessly__44___a_complete_sentence__46__]] + Limiting use of this to when you really need it is a good idea. + Note that if the file linked to by a WikiLink looks like an image, it will be displayed inline on the page. |