Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 861 Bytes
1 | require 'chunks/chunk' |
2 | |
3 | # This chunks allows certain parts of a wiki page to be hidden from the |
4 | # rest of the rendering pipeline. It should be run at the beginning |
5 | # of the pipeline in `wiki_content.rb`. |
6 | # |
7 | # An example use of this chunk is to markup double brackets or |
8 | # auto URI links: |
9 | # <nowiki>Here are [[double brackets]] and a URI: www.uri.org</nowiki> |
10 | # |
11 | # The contents of the chunks will not be processed by any other chunk |
12 | # so the `www.uri.org` and the double brackets will appear verbatim. |
13 | # |
14 | # Author: Mark Reid <mark at threewordslong dot com> |
15 | # Created: 8th June 2004 |
16 | class NoWiki < Chunk::Abstract |
17 | |
18 | NOWIKI_PATTERN = Regexp.new('<nowiki>(.*?)</nowiki>', Regexp::MULTILINE) |
19 | def self.pattern() NOWIKI_PATTERN end |
20 | |
21 | attr_reader :plain_text |
22 | |
23 | def initialize(match_data, content) |
24 | super |
25 | @plain_text = @unmask_text = match_data[1] |
26 | end |
27 | |
28 | end |