post styling table improvements

merge-requests/208/head
fatchan 5 years ago
parent 2bd231a031
commit 1c697cad79
  1. 90
      views/custompages/faq.pug

@ -100,41 +100,65 @@ block content
.anchor#post-styling
table
tr
th: a(href='#post-styling') Post styling
th(colspan=2): a(href='#post-styling') Post styling
tr
td.post-message
p When posting, you can use certain characters to style your post with bold, italics, code blocks, quotes, etc. The formatting is as follows:
div >greentext →
span.greentext >greentext
div <pinktext →
span.pinktext <pinktext
div ==title== →
span.title title
div ""bold"" →
strong bold
div __underline__ →
span.underline underline
div ~~strikethrough~~ →
span.strikethrough strikethrough
div **italic** →
em italic
div (((detected))) →
span.detected (((detected)))
pre.no-m-p
| ```
| code block
| ```
th Input
th Output
tr
td >greentext
td
span.greentext >greentext
tr
td <pinktext
td
span.pinktext <pinktext
tr
td ==title==
td
span.title title
tr
td ""bold""
td
span.strong bold
tr
td __underline__
td
span.underline underline
tr
td ~~strikethrough~~
td
span.strikethrough strikethrough
tr
td **italic**
td
span.em italic
tr
td (((detected)))
td
span.detected (((detected)))
tr
td
| ```
| code block
| ```
td
span.code code block
div `inline monospace` →
span.mono inline monospace
b Hyperlinks
div https://example.com → #[a(href='#!') https://example.com]
b Quotes
div >>123 → #[a(class="quote" href="#!") >>123]
b Cross Board Quotes
div >>>/b/ → #[a(class="quote" href="#!") >>>/b/]
div >>>/b/123 → #[a(class="quote" href="#!") >>>/b/123]
br
tr
td `inline monospace`
td
span.mono inline monospace
tr
td https://example.com
td: a(href='#!') https://example.com
tr
td >>123
td: a(class="quote" href="#!") >>123
tr
td >>>/b/
td: a(class="quote" href="#!") >>>/b/
tr
td >>>/b/123
td: a(class="quote" href="#!") >>>/b/123
.table-container.flex-center.mv-5
.anchor#make-a-board
table

Loading…
Cancel
Save