Difference between revisions of "Help:TootCat/HTML/formatting"

From Mew
Jump to navigation Jump to search
Line 1: Line 1:
 
{{fmt/title|formatting posts with HTML}}
 
{{fmt/title|formatting posts with HTML}}
Note that the "Markdown" formatting option supports all of the tags supported by the HTML option (i.e. it's a superset), and it's often useful to be able to intermix them -- so we recommend using the Markdown option rather than HTML only. The following applies to both choices; see {{l/sub|Markdown}} for syntax that only works in the Markdown option.
+
Note that the "Markdown" formatting option supports all of the tags supported by the HTML option (i.e. it's a superset), and Markdown supports some things that HTML does not -- so we recommend using the Markdown option rather than HTML only.
  
 +
The following applies to both the HTML and Markdown options; see {{l/sub|Markdown}} for syntax that only works in the Markdown option.
 
==Tags==
 
==Tags==
 
<syntaxhighlight lang=html>
 
<syntaxhighlight lang=html>

Revision as of 18:43, 28 May 2023

formatting posts with HTML

Note that the "Markdown" formatting option supports all of the tags supported by the HTML option (i.e. it's a superset), and Markdown supports some things that HTML does not -- so we recommend using the Markdown option rather than HTML only.

The following applies to both the HTML and Markdown options; see Markdown for syntax that only works in the Markdown option.

Tags

Character formatting:
 <b>bold</b>
 <i>italic</i>
 <u>underline</u>

Lists:
 <ul><li>item one<li>item two</ul>
 <ol<li>item one<li>item two</ol>
Links:
 <a href="URL">display text</a>
 #<a href="https://toot.cat/tags/softwareGripe">softwareGripe</a> - link to a hashtag feed without indexing the post containing the link

NOT SUPPORTED:
 <pre>, <tt>, <s>

(I put the # outside of the link so it looks a little different from a regular hashtag.)