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

Loading…
Cancel
Save