aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edithelp.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-01-08 02:17:18 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-08 02:17:18 +0100
commite7747bf975a8523be7756a71d1b5166f5229363b (patch)
tree74e69eebf29c7c963a8ef36d3aed4d0470a3cbdd /app/view/templates/edithelp.php
parent4b30e32dba3a53f02f2c5b5360ed73d1a023a5df (diff)
downloadwcms-e7747bf975a8523be7756a71d1b5166f5229363b.tar.gz
wcms-e7747bf975a8523be7756a71d1b5166f5229363b.zip
mini help
Diffstat (limited to 'app/view/templates/edithelp.php')
-rw-r--r--app/view/templates/edithelp.php50
1 files changed, 24 insertions, 26 deletions
diff --git a/app/view/templates/edithelp.php b/app/view/templates/edithelp.php
index d01f3aa..ff0ade5 100644
--- a/app/view/templates/edithelp.php
+++ b/app/view/templates/edithelp.php
@@ -1,27 +1,25 @@
- <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 main 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> \ No newline at end of file
+ <h4>update shortcut</h4>
+ <kbd>ALT</kbd> + <kbd>X</kbd>
+ <h4>Synthax</h4>
+ <p>
+ 📏<a href="https://daringfireball.net/projects/markdown/syntax" target="_blank">Markdown encoding</a>
+ </br>
+ 📐<a href="https://michelf.ca/projects/php-markdown/extra/" target="_blank">Markdown Extra</a></i>
+ </p>
+ <ul>
+ <li><code>[<i>hello</i>](<i>PAGE_ID</i>)</code>link</li>
+ <li><code>[<i>PAGE_ID</i>]</code>quick link</li>
+ <li><code>%TITLE%</code>page title</li>
+ <li><code>%DESCRIPTION%</code>page desc'</li>
+ <li><code>%DATE%</code>date of page</li>
+ <li><code>%TIME%</code>time of page</li>
+ <li><code>%SUMMARY%</code>Summary</li>
+ <li><code>===<i>article</i></code>article separator</li>
+ <li><code>%TAG:<i>tag</i>%</code>page list by <i>tag</i></li>
+ <li><code>%MEDIA:<i>dir</i>%</code>media list</li>
+ </ul>
+
+ <h4>More infos</h4>
+
+ <a href="<?= $this->url('info') ?>" target="_blank">📕 Manual</a> \ No newline at end of file