Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow styling text #363

Open
timbray opened this issue Dec 14, 2023 · 9 comments
Open

Allow styling text #363

timbray opened this issue Dec 14, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@timbray
Copy link

timbray commented Dec 14, 2023

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 timbray added the enhancement New feature or request label Dec 14, 2023
@paulo-roger
Copy link

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

@Fastidious
Copy link
Contributor

Fastidious commented Jul 18, 2024

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
Copy link
Contributor

This is how that status shows in Phanpy:

image

@Fastidious
Copy link
Contributor

This is how it renders in Mastodon:

image

@paulo-roger
Copy link

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

@Fastidious
Copy link
Contributor

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

@paulo-roger
Copy link

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
Copy link

image

@paulo-roger
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants