File
Config/PreviewHTML/filters.sample.ini
— part of check-in
[fb02a79e74]
at
2013-07-14 09:48:31
on branch publish
— v1.3.1.0
(user:
Martijn
size: 1166)
File
filters.sample.ini
— part of check-in
[088b31f9e1]
at
2013-03-03 12:55:11
on branch publish
— v1.3.0.0
(user:
Martijn
size: 1166)
0000: 5b 2d 2d 2d 20 49 6e 66 6f 72 6d 61 74 69 6f 6e [--- Information
0010: 20 2d 2d 2d 5d 0d 0a 54 68 69 73 20 53 41 4d 50 ---]..This SAMP
0020: 4c 45 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 LE file contains
0030: 20 74 68 65 20 66 69 6c 74 65 72 73 20 74 6f 20 the filters to
0040: 62 65 20 72 75 6e 20 62 65 66 6f 72 65 20 70 72 be run before pr
0050: 65 76 69 65 77 69 6e 67 20 61 20 66 69 6c 65 20 eviewing a file
0060: 69 6e 20 4e 6f 74 65 70 61 64 2b 2b 2e 0d 0a 53 in Notepad++...S
0070: 61 76 65 20 74 68 69 73 20 66 69 6c 65 20 61 73 ave this file as
0080: 20 27 66 69 6c 74 65 72 73 2e 69 6e 69 27 20 28 'filters.ini' (
0090: 69 6e 73 74 65 61 64 20 6f 66 20 27 66 69 6c 74 instead of 'filt
00a0: 65 72 73 2e 73 61 6d 70 6c 65 2e 69 6e 69 27 29 ers.sample.ini')
00b0: 20 74 6f 20 73 65 65 20 69 74 20 69 6e 20 61 63 to see it in ac
00c0: 74 69 6f 6e 2e 0d 0a 0d 0a 45 61 63 68 20 73 65 tion.....Each se
00d0: 63 74 69 6f 6e 20 62 65 6c 6f 77 20 64 65 66 69 ction below defi
00e0: 6e 65 73 20 61 20 63 75 73 74 6f 6d 20 66 69 6c nes a custom fil
00f0: 74 65 72 2e 0d 0a 0d 0a 54 68 65 20 70 72 65 76 ter.....The prev
0100: 69 65 77 20 70 6c 75 67 69 6e 20 64 65 63 69 64 iew plugin decid
0110: 65 73 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f es whether or no
0120: 74 20 74 6f 20 72 75 6e 20 65 61 63 68 20 66 69 t to run each fi
0130: 6c 74 65 72 20 62 61 73 65 64 20 6f 6e 20 74 68 lter based on th
0140: 65 20 66 69 6c 65 27 73 20 65 78 74 65 6e 73 69 e file's extensi
0150: 6f 6e 20 4f 52 20 74 68 65 0d 0a 61 63 74 69 76 on OR the..activ
0160: 65 20 68 69 67 68 6c 69 67 68 74 65 72 20 6c 61 e highlighter la
0170: 6e 67 75 61 67 65 2e 20 20 54 68 65 20 66 69 72 nguage. The fir
0180: 73 74 20 66 69 6c 74 65 72 20 65 6e 63 6f 75 6e st filter encoun
0190: 74 65 72 65 64 20 69 73 20 72 75 6e 2c 20 61 6e tered is run, an
01a0: 79 20 6f 74 68 65 72 20 6d 61 74 63 68 69 6e 67 y other matching
01b0: 20 66 69 6c 74 65 72 73 20 61 72 65 0d 0a 69 67 filters are..ig
01c0: 6e 6f 72 65 64 2e 0d 0a 0d 0a 41 6e 79 20 66 69 nored.....Any fi
01d0: 6c 74 65 72 20 63 61 6e 20 62 65 20 64 69 73 61 lter can be disa
01e0: 62 6c 65 64 20 62 79 20 63 6f 6d 6d 65 6e 74 69 bled by commenti
01f0: 6e 67 20 69 74 20 6f 75 74 2c 20 6f 72 20 62 79 ng it out, or by
0200: 20 73 74 61 72 74 69 6e 67 20 74 68 65 20 6e 61 starting the na
0210: 6d 65 20 77 69 74 68 20 61 20 27 2d 27 20 68 79 me with a '-' hy
0220: 70 68 65 6e 3b 20 0d 0a 66 6f 72 20 65 78 61 6d phen; ..for exam
0230: 70 6c 65 20 5b 2d 50 48 50 5d 20 69 6e 73 74 65 ple [-PHP] inste
0240: 61 64 20 6f 66 20 5b 50 48 50 5d 2e 0d 0a 0d 0a ad of [PHP].....
0250: 5b 50 48 50 5d 0d 0a 3b 20 50 48 50 20 69 73 20 [PHP]..; PHP is
0260: 61 20 70 6f 70 75 6c 61 72 20 73 63 72 69 70 74 a popular script
0270: 69 6e 67 20 6c 61 6e 67 75 61 67 65 2c 20 6d 6f ing language, mo
0280: 73 74 6c 79 20 75 73 65 64 20 66 6f 72 20 67 65 stly used for ge
0290: 6e 65 72 61 74 69 6e 67 20 48 54 4d 4c 20 70 61 nerating HTML pa
02a0: 67 65 73 20 6f 6e 20 61 20 77 65 62 20 73 65 72 ges on a web ser
02b0: 76 65 72 2e 0d 0a 3b 20 53 65 65 20 68 74 74 70 ver...; See http
02c0: 3a 2f 2f 77 77 77 2e 70 68 70 2e 6e 65 74 2f 6d ://www.php.net/m
02d0: 61 6e 75 61 6c 2f 65 6e 2f 66 65 61 74 75 72 65 anual/en/feature
02e0: 73 2e 63 6f 6d 6d 61 6e 64 6c 69 6e 65 2e 6f 70 s.commandline.op
02f0: 74 69 6f 6e 73 2e 70 68 70 0d 0a 3b 45 78 74 65 tions.php..;Exte
0300: 6e 73 69 6f 6e 3d 2e 70 68 70 34 2c 20 2e 70 68 nsion=.php4, .ph
0310: 70 35 2c 20 2e 70 68 70 0d 0a 4c 61 6e 67 75 61 p5, .php..Langua
0320: 67 65 3d 50 48 50 0d 0a 43 6f 6d 6d 61 6e 64 3d ge=PHP..Command=
0330: 70 68 70 2d 63 67 69 20 2d 71 20 22 25 31 22 0d php-cgi -q "%1".
0340: 0a 0d 0a 5b 46 6f 73 73 69 6c 2d 77 69 6b 69 5d ...[Fossil-wiki]
0350: 0d 0a 3b 20 46 6f 73 73 69 6c 20 69 73 20 61 20 ..; Fossil is a
0360: 76 65 72 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20 version control
0370: 73 79 73 74 65 6d 2c 20 77 68 69 63 68 20 61 6c system, which al
0380: 73 6f 20 70 72 6f 76 69 64 65 73 20 77 69 6b 69 so provides wiki
0390: 2e 20 54 68 69 73 20 66 69 6c 74 65 72 20 77 69 . This filter wi
03a0: 6c 6c 20 63 61 6c 6c 20 66 6f 73 73 69 6c 20 74 ll call fossil t
03b0: 6f 0d 0a 3b 20 20 63 6f 6e 76 65 72 74 20 61 20 o..; convert a
03c0: 2e 77 69 6b 69 20 66 69 6c 65 20 74 6f 20 48 54 .wiki file to HT
03d0: 4d 4c 2e 0d 0a 3b 20 53 65 65 20 68 74 74 70 3a ML...; See http:
03e0: 2f 2f 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 //fossil-scm.org
03f0: 2f 66 6f 73 73 69 6c 2f 64 6f 63 2f 74 72 75 6e /fossil/doc/trun
0400: 6b 2f 77 77 77 2f 77 69 6b 69 74 68 65 6f 72 79 k/www/wikitheory
0410: 2e 77 69 6b 69 0d 0a 3b 20 28 61 6e 64 20 68 74 .wiki..; (and ht
0420: 74 70 3a 2f 2f 66 6f 73 73 69 6c 2d 73 63 6d 2e tp://fossil-scm.
0430: 6f 72 67 2f 66 6f 73 73 69 6c 2f 77 69 6b 69 5f org/fossil/wiki_
0440: 72 75 6c 65 73 20 66 6f 72 20 74 68 65 20 73 79 rules for the sy
0450: 6e 74 61 78 29 0d 0a 45 78 74 65 6e 73 69 6f 6e ntax)..Extension
0460: 3d 2e 77 69 6b 69 0d 0a 43 6f 6d 6d 61 6e 64 3d =.wiki..Command=
0470: 66 6f 73 73 69 6c 20 74 65 73 74 2d 77 69 6b 69 fossil test-wiki
0480: 2d 72 65 6e 64 65 72 20 22 25 31 22 0d 0a -render "%1"..