From 1c697cad790dc0f0aa8f641ea0d928c4c149f9ed Mon Sep 17 00:00:00 2001 From: fatchan Date: Thu, 29 Aug 2019 15:02:04 +0000 Subject: [PATCH] post styling table improvements --- views/custompages/faq.pug | 90 +++++++++++++++++++++++++-------------- 1 file changed, 57 insertions(+), 33 deletions(-) diff --git a/views/custompages/faq.pug b/views/custompages/faq.pug index 9620fcba..874d3246 100644 --- a/views/custompages/faq.pug +++ b/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