phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Allow styling text

Open timbray opened this issue 1 year ago • 9 comments
trafficstars

Check out https://void.lgbt/objects/da64778e-033e-43df-9ed8-d91b9ed08ea8

It has bold & italic text, which Phanpy renders nicely. Apparently this is done with a limited subset of HTML tags. A few Fedi packages, e.g. the Glitch fork and Akkoma, allow authors to style posts (usually with markdown I think). I think if Phanpy started offering the opportunity to style text, this would really be attractive to a lot of people.

timbray avatar Dec 14 '23 18:12 timbray

Yeah, at least adding the option to set the styling. For instance akkoma has Markdown, Html, BBCode, MFM

paulo-roger avatar Jul 18 '24 16:07 paulo-roger

As OP stated, bold and italic are supported. In addition, Phanpy also supports blockquotes, bulleted, and numbered lists. See: https://weaknotes.com/@david/statuses/01J33BWMSHSNAF6J0MXWKHXTG2.

To expand on this. You can use markdown in Phanpy. Use *test* for italics, **bold** for bold, > to start your blockquote, and - / 1. for bulleted and numbered lists. Your backend server, though, needs to support rendering.

Fastidious avatar Jul 18 '24 16:07 Fastidious

This is how that status shows in Phanpy:

image

Fastidious avatar Jul 18 '24 17:07 Fastidious

This is how it renders in Mastodon:

image

Fastidious avatar Jul 18 '24 17:07 Fastidious

But in phanpy frontend I have no field to choose if I am posting in plain text or markdown

paulo-roger avatar Jul 21 '24 14:07 paulo-roger

@paulo-roger I don't understand. The setting for preferred posting is set at server level. At least, that's what happens on GoToSocial.

Fastidious avatar Jul 21 '24 14:07 Fastidious

In akkoma default frontend we can set the global preferred styling, but you can change it in the post field for a particular post if you like.

In phanpy though none of the methods are presented (unless I am missing where I can set it).

paulo-roger avatar Jul 21 '24 14:07 paulo-roger

image

paulo-roger avatar Jul 21 '24 14:07 paulo-roger

image

paulo-roger avatar Jul 21 '24 14:07 paulo-roger