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

Can't send HTML or Markdown statuses #1596

Open
CPlusPatch opened this issue Feb 22, 2023 · 5 comments
Open

Can't send HTML or Markdown statuses #1596

CPlusPatch opened this issue Feb 22, 2023 · 5 comments

Comments

@CPlusPatch
Copy link
Contributor

Every time I use postStatus, there is no way for me to set the content-type as "plain", "markdown", "html" or anything else.

I have analyzed the HTTP requests performed by Megalodon and they are missing the content_type POST parameter, which is text/plain on normal messages.

@h3poteto
Copy link
Owner

Is it allowed?
Can you send markdown or HTML on WebUI?

@CPlusPatch
Copy link
Contributor Author

Absolutely, I use Akkoma (Pleroma fork, same API) and I can send Markdown or HTML or MFM messages from within the default web interface

@h3poteto
Copy link
Owner

What happens when you send Markdown or HTML in the message? It is rendered as HTML in the timeline?
When I post markdown text in Mastodon, it is not rendered as HTML, it is rendered as plain text: https://mastodon-japan.net/@h3poteto/109930646032098298

@CPlusPatch
Copy link
Contributor Author

I use Akkoma (a Pleroma fork) and Calckey (Misskey fork) which render HTML text as HTML

Besides, Mastodon has just merged support for HTML text rendering as well (mastodon/mastodon#23913)

@SeolHa314
Copy link

SeolHa314 commented Dec 16, 2024

Glitch-soc and some Pleroma forks supports markdown formatting by setting content_type param, is there a plan to add this feature in megalodon?

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

No branches or pull requests

3 participants