diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-03-06 12:05:36 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-06 12:05:36 -0500 |
commit | 0e7896690b8dbeb7c74fc0ce1f954159861fc8b3 (patch) | |
tree | 415a5b207c250d4c7905f538bd9982f1bf34fd18 /doc/plugins | |
parent | 4401e5b9edcc99766ec0b0bdfd3125b3ddc94e6a (diff) | |
parent | 91ea6629433fb4e21db4b64ef47a8990e80a2533 (diff) |
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/contrib/sourcehighlight.mdwn | 21 | ||||
-rw-r--r-- | doc/plugins/tag/discussion.mdwn | 5 |
2 files changed, 25 insertions, 1 deletions
diff --git a/doc/plugins/contrib/sourcehighlight.mdwn b/doc/plugins/contrib/sourcehighlight.mdwn new file mode 100644 index 000000000..b48fd1a16 --- /dev/null +++ b/doc/plugins/contrib/sourcehighlight.mdwn @@ -0,0 +1,21 @@ +I noticed several places in the wiki talking about similar ideas, so I decided to put a page here to point to what I am working on. + +I have copied otl.pm and am wrapping source-highlight (why this instead of vim highlight, I dunno, I must be a real emacs guy). You can find more or less the latest +version on +[my wiki](http://www.cs.unb.ca/~bremner/wiki/software/sourcehighlight.pm) + +you must specify a highlight_lang=>"foo,bar" in your setup file. +where foo and bar are the (source-supported) languages you want to +highlight +# Issues + +- I would like to have a link to the raw source; using will_render() and then copying the file +may work. +The discussion in [[plugins/contrib/texinfo]] seems relevant. + +- the common case of foo.c and foo.h breaks +because they both generate page working/dir/foo. +It looks to me like ikiwiki is hardcoded to strip the extension in `pagename()` (IkiWiki.pm). +This problem with sourcehighlight needs to be fixed before it is very useful. + +[[DavidBremner]] diff --git a/doc/plugins/tag/discussion.mdwn b/doc/plugins/tag/discussion.mdwn index 61f375b80..87edf2ab8 100644 --- a/doc/plugins/tag/discussion.mdwn +++ b/doc/plugins/tag/discussion.mdwn @@ -16,4 +16,7 @@ Thanks. That works fine. @Ben: could you publish the code for that? ---David Riebenbauer <davrieb@htu.tugraz.at>
\ No newline at end of file +--David Riebenbauer <davrieb@htu.tugraz.at> + +-- AOLMODE=true echo "I too would really like this feature, which would make cgi free life much +better" --[[DavidBremner]] |