aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edithelp.php
blob: fee94c761324db878c95d6cc09e330bb83e21dee (plain)
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
    <h2>Help !</h2>
    <p>To save your article, press the HOME, UPDATE, or DISPLAY buttons. You can use the keyboard shortcuts as well.</p>
    <pre><span class="i">ALT + W</span> : home</pre>
    <pre><span class="i">ALT + X</span> : update</pre>
    <pre><span class="i">ALT + C</span> : display</pre>
    <h3>Markdown</h3>
    <p>The html section use <a href="https://daringfireball.net/projects/markdown/syntax" target="_blank">Markdown encoding</a>. Actualy, W is using Michel Fortin's <a href="https://michelf.ca/projects/php-markdown/extra/" target="_blank">Markdown Extra</a>.</p>
    <h3>Links</h3>
    <pre>[text](=<span class="i">article_id</span>)</pre>
    <p>where article_id is the article's id you want to point to.</p>
    <h3>Images</h3>
    <pre>[altimage](/<span class="i">img_id.extension</span>)</pre>
    <p>Where img_id is the id of your image and its extension.</p>
    <h3>Shortcuts</h3>
    <pre>%TITLE%</pre>
    <p>Show the title of your article.</p>
    <pre>%DESCRIPTION%</pre>
    <p>Show the description of your article.</p>
    <pre>%SUMMARY%</pre>
    <p>Generate a <strong>summary</strong>, the list of all your head titles using #, ##, ###...</p>
    <pre>%%<span class="i">tag_name</span>%%</pre>
    <p>Generate a <strong>menu</strong>, a list of links to all articles under this tag.</p>
    <p>vv</p>
    <p>vv</p>
    <p>vv</p>
    <p></p>