]> sipb.mit.edu Git - ikiwiki.git/blob - doc/users/KarlMW/discussion.mdwn
ikiwiki (3.20130711) unstable; urgency=low
[ikiwiki.git] / doc / users / KarlMW / discussion.mdwn
1 When you edited [[ikiwikiusers]] all the utf-8 on the page was removed. Is this an issue with the web browser you used? I've fixed the utf-8 damage. --[[Joey]]
2
3 > Ooops!  Sorry - yes, my fault - I was using w3m, which spawned nano to edit the text, and I'm not setup for utf-8.  I'll be more careful in future.  --[[KarlMW]]
4
5 ## Asciidoc
6
7 While I have your attention...  I got my asciidoc plugin going, at least
8 well enough to render my website without complaint. If you want to have a
9 look at it, the plugin is at <http://mowson.org/karl/colophon>. Is it
10 worthy of adding to the ikiwiki plugin collection? This is my first ever
11 perl programming, so I may well have made absurd mistakes - if there are
12 things that need changing then I will probably need help/guidance.
13 --[[KarlMW]]
14
15 > The main problem I see is the html escaping issue. This is not really
16 > unique to asciidoc, see [[todo/format_escape]]. I wonder if the
17 > technique provided by that patch could be used to let your plugin
18 > automatically handle the escaping. Unfortunatey, I have not yet gotten
19 > around to reviewing/applying the patch. --[[Joey]]
20
21 >> Escaping is indeed a problem with asciidoc - it seems to me that asciidoc still processes some things which have supposedly been escaped, although that may just be a matter of me misunderstanding something.  Inline escaping is done with both prefix and suffix of "+++" - no way to nest it.  Block escaping starts and ends with a line of "++++" (4 or more of "+").
22
23 >> I suspect that asciidoc can't really be made to play nice to the extent that I would want casual users/abusers to have it as a markup option on a live wiki - it's fine for a personal site where you can look at the output before putting it online, but I think it would be a hideously gaping integrity hole for anything more than that.  However, for a personal site (as I am using it), it does seem to have its uses.
24
25 >> I'll keep an eye on the format_escape plugin, and assuming it is accepted into ikiwiki, will see if I can apply it to asciidoc. --[[KarlMW]]
26
27 Is there any way to enable latexmath rendering? It semes that ikiwiki strips the necessary javascript and/or style sheet information from the HTML page generated by asciidoc. --Peter