Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

master
Joey Hess 2010-03-17 23:22:26 -04:00
commit 6cae23dbbe
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,8 @@
[[!template id=plugin name=highlightcode author="[[sabr]]"]]
[[!tag type/format]]
(An alternative to this plugin, [[plugins/highlight]], is now provided with IkiWiki. --[[smcv]])
A small plugin to allow Ikiwiki to display source files complete with syntax highlighting. Files with recognized extensions (i.e. my-file.cpp) are be rendered just like any other Ikiwiki page. You can even edit your source files with Ikiwiki's editor.
It uses the Syntax::Highlight::Engine::Kate Perl module to do the highlighting.

View File

@ -76,3 +76,12 @@ Any idea when this is going to be finished? If you want, I am happy to beta tes
> Example of use to only allow two users to edit the tipjar page:
> locked_pages => 'tipjar and !(user(joey) or user(bob))',
> --[[Joey]]
> > Thank you for the hint but I am being still confused (read: dense)... What I am trying to do is this:
> > * No anonymous access.
> > * Logged in users can edit and create pages.
> > * Users can set who can edit their pages.
> > * Some pages are only viewable by admins.
> > Is it possible? If so how?...