File: textile.tt

package info (click to toggle)
libmojomojo-perl 1.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,524 kB
  • sloc: perl: 14,730; xml: 120; sh: 97; makefile: 8; ruby: 6
file content (65 lines) | stat: -rw-r--r-- 2,188 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<h2>[%loc('Textile help')%]</h2>
<p><a href="http://www.bradchoate.com/mt/docs/mtmanual_textile2.html" target="_blank">[%loc('Textile2 complete reference')%]</a></p>
<table>
    <tr>
        <td>_[%loc('your text')%]_</td>
        <td class="arrow">-></td>
        <td><em>[%loc('your text')%]</em></td>
    </tr>
    <tr>
        <td>*[%loc('your text')%]*</td>
        <td class="arrow">-></td>
        <td><strong>[%loc('your text')%]</strong></td>
    </tr>
    <tr>
        <td>%{color:red}[%loc('hello')%]%</td>
        <td class="arrow">-></td>
        <td><span style="color: red;">[%loc('hello')%]</span></td>
    </tr>
    <tr>
        <td>* [%loc('Bulleted list')%]<br />* [%loc('Second item')%]</td>
        <td class="arrow">-></td>
        <td>&#8226; [%loc('Bulleted list')%]<br />&#8226; [%loc('Second item')%]</td>
    </tr>
    <tr>
        <td># [%loc('Numbered list')%]<br /># [%loc('Second item')%]</td>
        <td class="arrow">-></td>
        <td>1. [%loc('Numbered list')%]<br />2. [%loc('Second item')%]</td>
    </tr>
[% IF(INC.exists('MojoMojo/Formatter/Emote.pm')) -%]
    <tr>
        <td>:-)</td>
        <td class="arrow">-></td>
        <td><em><img src="[%base%]/.static/emote/regular_smile.gif" alt="smile emote" /><br/>[%loc('And others.')%]</em></td>
    </tr>
[% END -%]
    <tr>
        <td>"[%loc('linkname')%]":[%loc('URL')%]</td>
        <td class="arrow">-></td>
        <td><a href="URL">[%loc('linkname')%]</a></td>
    </tr>
[% IF(INC.exists('MojoMojo/Formatter/Amazon.pm')) -%]
    <tr>
        <td>{{http://amazon/url}}</td>
        <td class="arrow">-></td>
        <td><em>[%loc('Show this product')%]</em></td>
    </tr>
[% END -%]
    <tr>
        <td>[%loc('|a|table|row|')%]<br />[%loc('|b|table|row|')%]</td>
        <td class="arrow">-></td>
        <td>[%loc('Table')%]</td>
    </tr>
    <tr>
        <td>!/img/url!</td>
        <td class="arrow">-></td>
        <td>[%loc('Image')%]</td>
    </tr>
[% IF(INC.exists('MojoMojo/Formatter/RSS.pm')) -%]
    <tr>
        <td>{{feed://[%loc('your/url')%]}}</td>
        <td class="arrow">-></td>
        <td><em>[%loc('include this rss feed')%]</em></td>
    </tr>
[% END -%]
</table>