summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus32016-09-02 23:45:57 +0200
committerHorus32016-09-02 23:45:57 +0200
commitff0eecb279ce58c8b9be22f5a093f140f084bb68 (patch)
tree56ebca08c93d8dc89d87af5f6dedcb6fda3ea0be
parentd2038b4f57cf8e6cae815b77e5f1b5233ddfe1bd (diff)
downloadscribbled-ff0eecb279ce58c8b9be22f5a093f140f084bb68.tar.gz
Quick help on formatting.
-rw-r--r--templates/index.html63
1 files changed, 62 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index ee462e5..bc6d7e2 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -49,11 +49,72 @@
</form>
</div>
<div class="row">
- <div class="col-md-8">
+ <div class="col-md-12">
<p>To access the same scribble later just search for the title. <strong>Markdown supported!</strong>
<!--strong>It's important that you don't forget it.</strong-->
+ </p>
+ <h4 style="margin-bottom: 0;">
+ Formatting help
+ </h4>
+ <p style="margin-bottom: 20px;">
+ To format your text you can use Markdown. Markdown has a very leightweight syntax, explained below.
</p>
</div>
+ <div class="col-md-4">
+ <p>
+ # Heading
+ <br>
+ ## Sub-heading
+ <br>
+ ### Another deeper heading
+ <br>
+ <br>
+ Paragraphs are separated by a blank line.
+ <br>
+ <br>
+ A [link](http://example.com).
+ <br>
+ <br>
+ Two spaces at the end of a line leave a
+ line break. (Line break as well.)
+ </p>
+ </div>
+ <div class="col-md-4">
+ <p>
+ Text attributes:
+ <br>
+ <span style="margin-left: 3%;">
+ _italic_, *italic*
+ </span>
+ <br>
+ <span style="margin-left: 3%;">
+ __bold__, **bold**
+ </span>
+ <br>
+ <span style="margin-left: 3%;">
+ `monospace`
+ </span>
+ <br>
+ <span style="margin-left: 3%;">
+ ~~strike through~~
+ </span>
+ <br>
+ <br>
+ Bullet list:
+ <br>
+ <span style="margin-left: 3%;">
+ * apples
+ </span>
+ <br>
+ <span style="margin-left: 3%;">
+ * oranges
+ </span>
+ <br>
+ <span style="margin-left: 3%;">
+ * pears
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>