pachli / pachli-android

The Pachli Android app
https://pachli.app
GNU General Public License v3.0
104 stars 14 forks source link

[feature request] Markdown text formatting support #878

Open rxbrad opened 3 weeks ago

rxbrad commented 3 weeks ago

Would really love if Pachli could do some basic text style formatting. Bold, italics, code blocks, etc...

https://www.markdownguide.org/cheat-sheet/

nikclayton commented 3 weeks ago

Do you mean you want to be able to write in Markdown?

Or do you use a server that can return posts in Markdown, and you want Pachli to render that?

rxbrad commented 3 weeks ago

I'm mostly hoping it'll render Markdown in posts. (I wouldnt complain about WYSIWYG font styling while composing posts. Similar to how Connect for Lemmy does it. But that's not what I'm asking for here.) I wouldn't expect anything extravagant like full Misskey MFM support. Just basic markdown, like here on GitHub. Bold, italic, code blocks, etc...

For example, here's Elk rendering markdown on this post: https://mastodon.rxbrad.com/@RxBrad/112920631138276483

Screenshot_20240817-151143

MinekPo1 commented 2 weeks ago

Just basic markdown, like here on GitHub.

FYI github uses their own flavour of markdown (though its often used by other applications) , but that's a minor nitpick , I believe the features of GFM that is enabled on glitch-soc (is it on core mastodon ? not sure , glitch-soc uses redcarpet for markdown) is images and todolists. note also that the markdown flavour lemmy uses (CommonMark) does support images and has slightly different syntax for some markup

nikclayton commented 1 week ago

It's not ready for prime time yet, but here's how that renders on a test branch: