Difference between revisions of "Mastodon Glitch Edition/markup"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with "GlitchSoc has the ability to format posts with limited subsets of HTML or Markdown, which does not seem to be documented anywhere. It has to be enabled on a per-clien...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
GlitchSoc has the ability to format posts with limited subsets of [[HTML]] or [[Markdown]], which does not seem to be documented anywhere.
+
GlitchSoc has the ability to format posts with limited subsets of [[HTML]] or [[Markdown]], which does not seem to be documented anywhere. (Update: this feature is [https://mastodon.social/@natecull/103710689139831981 apparently available] now on trunk Mastodon. It's not clear whether it originated there or was backported from Glitch.)
  
 
It has to be enabled on a per-client (per-user) basis via <code>[Getting Started]</code> &rarr; <code>[App Settings]</code> &rarr; <code>[Compose box (tab)]</code> -> check the "show content-type choice" checkbox. Once this is done, you should see a markup-selection icon between the "lock" icon and the "CW" icon, as seen below:
 
It has to be enabled on a per-client (per-user) basis via <code>[Getting Started]</code> &rarr; <code>[App Settings]</code> &rarr; <code>[Compose box (tab)]</code> -> check the "show content-type choice" checkbox. Once this is done, you should see a markup-selection icon between the "lock" icon and the "CW" icon, as seen below:
  
 
[[File:2020-02-23 GlitchSoc editing icons.png]]
 
[[File:2020-02-23 GlitchSoc editing icons.png]]
 +
 +
Note that apparently the ''only'' way to get <s>strikethrough</s> in a post is to use Markdown, since neither {{xmltag|s}} nor {{xmltag|strike}} seem to work in HTML mode.
 +
 +
Also, it appears that HTML codes work in Markdown mode as well.

Latest revision as of 17:59, 17 March 2020

GlitchSoc has the ability to format posts with limited subsets of HTML or Markdown, which does not seem to be documented anywhere. (Update: this feature is apparently available now on trunk Mastodon. It's not clear whether it originated there or was backported from Glitch.)

It has to be enabled on a per-client (per-user) basis via [Getting Started][App Settings][Compose box (tab)] -> check the "show content-type choice" checkbox. Once this is done, you should see a markup-selection icon between the "lock" icon and the "CW" icon, as seen below:

2020-02-23 GlitchSoc editing icons.png

Note that apparently the only way to get strikethrough in a post is to use Markdown, since neither <s> nor <strike> seem to work in HTML mode.

Also, it appears that HTML codes work in Markdown mode as well.