liquid_feedback_frontend

annotate app/main/initiative/_sidebar_wikisyntax.lua @ 1532:3c15fea3f1c0

Added FirstLife group mirroring
author bsw
date Sun Oct 04 16:31:47 2020 +0200 (2020-10-04)
parents 701a5cf6b067
children
rev   line source
bsw@1045 1 if config.enforce_formatting_engine ~= 'markdown2' then
bsw@1045 2 return
bsw@1045 3 end
bsw@1045 4
bsw@1045 5 ui.sidebar( "tab-whatcanido", function()
bsw@1045 6 ui.sidebarHead( function()
bsw@1045 7 ui.heading { level = 2, content = _"Formatting help" }
bsw@1045 8 end )
bsw@1045 9 ui.sidebarSection( function ()
bsw@1045 10 ui.heading { level = 3, content = _"Paragraphs" }
bsw@1045 11 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
bsw@1045 12 ui.tag { tag = "li", content = function ()
bsw@1045 13 ui.tag { content = _"Separate each paragraph with at least one blank line" }
bsw@1045 14 end }
bsw@1045 15 end }
bsw@1045 16
bsw@1045 17 ui.heading { level = 3, content = _"Headlines" }
bsw@1045 18 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
bsw@1045 19 ui.tag { tag = "li", content = function ()
bsw@1045 20 ui.tag { content = _"Underline main headlines with ===" }
bsw@1045 21 end }
bsw@1045 22 ui.tag { tag = "li", content = function ()
bsw@1045 23 ui.tag { content = _"Underline sub headlines with ---" }
bsw@1045 24 end }
bsw@1045 25 end }
bsw@1045 26
bsw@1045 27 ui.heading { level = 3, content = _"Emphasis" }
bsw@1045 28 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
bsw@1045 29 ui.tag { tag = "li", content = function ()
bsw@1045 30 ui.tag { content = _"Put *asterisks* or around a phrase to make it italic" }
bsw@1045 31 end }
bsw@1045 32 ui.tag { tag = "li", content = function ()
bsw@1045 33 ui.tag { content = _"Put **double asterisks** around a phrase to make it bold" }
bsw@1045 34 end }
bsw@1045 35 end }
bsw@1045 36
bsw@1045 37 ui.heading { level = 3, content = _"Lists" }
bsw@1045 38 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
bsw@1045 39 ui.tag { tag = "li", content = function ()
bsw@1045 40 ui.tag { content = _"Lists must be preceeded and followed by at least one blank line" }
bsw@1045 41 end }
bsw@1045 42 ui.tag { tag = "li", content = function ()
bsw@1045 43 ui.tag { content = _"Put a hypen (-) or asterisk (*) followed by a space in front of each item" }
bsw@1045 44 end }
bsw@1045 45 ui.tag { tag = "li", content = function ()
bsw@1045 46 ui.tag { content = _"For numbered items use a digit (e.g. 1) followed by a dot (.) and a space" }
bsw@1045 47 end }
bsw@1045 48 ui.tag { tag = "li", content = function ()
bsw@1045 49 ui.tag { content = _"Indent sub items with spaces" }
bsw@1045 50 end }
bsw@1045 51 end }
bsw@1045 52
bsw@1045 53 ui.heading { level = 3, content = _"Links" }
bsw@1045 54 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
bsw@1045 55 ui.tag { tag = "li", content = function ()
bsw@1045 56 ui.tag { content = _"Use [Text](http://example.com/) for links" }
bsw@1045 57 end }
bsw@1045 58 end }
bsw@1045 59
bsw@1045 60 end )
bsw@1045 61 end )

Impressum / About Us