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

From Mew
Jump to navigation Jump to search
 
Line 49: Line 49:
 
Be sure to leave a blank line after the last bit of indented text, or the renderer may decide it should also be indented. (Nobody knows why.)
 
Be sure to leave a blank line after the last bit of indented text, or the renderer may decide it should also be indented. (Nobody knows why.)
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
There's also a weird syntactical glitch which is probably not supported and may not always work, but which allows you to link to a tag without joining it ''while staying in the "deck" UI'' (i.e. opens in the right panel rather than a new tab), and also lets you put a secret message in the URL display in the bottom panel of most browsers. A demonstration is [https://toot.cat/@woozle/113977005250320776 here].
 
==Further Reading on Markdown==
 
==Further Reading on Markdown==
 
Note that TootCat only supports a small ''subset'' of Markdown.
 
Note that TootCat only supports a small ''subset'' of Markdown.

Latest revision as of 01:48, 10 February 2025

formatting posts with Markdown

Remember that anything that works with the HTML option will also work with the Markdown option!

I've also posted these examples on TootCat so you can see how they look in practice.

Character formatting:
=====================

* **bold**
* *italic*
* ~~strike~~
* _underline_
* `[link text](URL)` e.g. [toot.cat](https://toot.cat) - URL must include protocol://
* ^superscript -- like: E=MC^2
  * I don't know how to turn it off without a space.
  * You can even do supersuperscript: Normal^super^hyper makes "hyper" look like a superscript on "super" -- both higher and smaller

Lists:
======
* bullet item one
* bullet item two
  * sub-item for item 2 (2 spaces per indent)
* bullet item three

1. numbered list item 1
2. numbered list item 2

Fixed-pitch:
============

`inline fixed-pitch text`
```
multiline fixed-pitch text:
multiple lines
of fixed-pitch font
(for pasting code examples and such)
```
Syntax highlighting does not seem to be supported at present. (Tsk tsk.)

Text blocks:
============

# Header 1
## Header 2
### Header 3

> quote-indented text

Be sure to leave a blank line after the last bit of indented text, or the renderer may decide it should also be indented. (Nobody knows why.)

There's also a weird syntactical glitch which is probably not supported and may not always work, but which allows you to link to a tag without joining it while staying in the "deck" UI (i.e. opens in the right panel rather than a new tab), and also lets you put a secret message in the URL display in the bottom panel of most browsers. A demonstration is here.

Further Reading on Markdown

Note that TootCat only supports a small subset of Markdown.