PageRenderTime 65ms CodeModel.GetById 61ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/English/rules/rules.conf

http://txt2tags.googlecode.com/
Config | 37 lines | 30 code | 7 blank | 0 comment | 0 complexity | 38785c59575901869865804c5a0e68fb MD5 | raw file
 1
 2%!options: --toc --toc-level 2
 3%!options: --css-sugar --css-inside --style rules.css
 4%!options: -o ../rules.html
 5
 6%!preproc: '^%% '	''
 7%!preproc: MARKUPDEMO	markup.html
 8%!preproc: TESTPATH	../../../test/marks
 9%!preproc: img\.png	../img/t2tpowered.png
10
11%%%%% SPECIAL PROCESSING RULES
12%
13% Title section: remove title tests from TOC
14%!postproc: '^(?i) *<LI>.*[Tt]itle Level .*'  ''
15% Link section: one link per line
16%!postproc: '^(?i)((any text: )?<A HREF=.*)'   '\1<br>'
17% Inline section: special format for tests results
18%!preproc: '^(i\) .{82})'   '\1}{'
19%!preproc: '^(i\) .{69})'   '\1}{'
20%!preproc: '^(i\) .{55})'   '\1}{'
21%!preproc: '^(i\) .{41})'   '\1}{'
22%!preproc: '^(i\) .{27})'   '\1}{'
23%!preproc: '^(i\) .{13})'   '\1}{'
24%!preproc: '^i\)( .*)'     '{\1 }@@@@'
25% Mark the section titles (excluding doc title and title tests)
26%!postproc: '(?i)<H1>'	'<h1 class="section">'
27%!postproc: '(?i)<h1 class="section">(Txt2tags|Title Level)'	'<h1>\1'
28
29% Include the default test configs
30%!includeconf: ../../../test/marks/test.conf
31
32% XHTML requires this
33%!postproc: '<br>'	'<br />'
34
35%!postproc: '\n'  '####'
36%!target: xhtml
37