lneugebauer / nextcloud-cookbook

Android client for Nextcloud Cookbook app.
https://lneugebauer.github.io/nextcloud-cookbook/
MIT License
54 stars 9 forks source link

Support markdown in ingredients, description, and instructions to match web app functionality #77

Closed jessebot closed 5 months ago

jessebot commented 5 months ago

Is your feature request related to a problem? Please describe.

Not like an app breaking problem, just an inconsistency between the android app and the nextcloud web cookbook app that would be nice, as it helps a little bit for those with reading and focus disabilities as it breaks up the text a bit more.

Describe the solution you'd like

I'd like to have have markdown such as ## heading 2 example, ### heading 3 example, * list item, and **bolded** to work in the ingredients, description, and instructions sections. I've included some screenshots of the differences between the web app and the phone app.

Additional context

Here's some differences between the android app the web app. The markdown is helpful for distinguishing sets of ingredients that otherwise seem like they repeat, or are related to a different part of the dish. It's also helpful for labeling parts of the instructions that are all related. I use heading 2 and 3 a lot for notes as well.

Android app

android app showing the description section of a recipe for braised indian chickpea stew with an unrendered markdown heading 3android app showing the ingredients section of a recipe for braised indian chickpea stew with an unrendered markdown heading 3android app showing the ingredients section of a recipe for braised indian chickpea stew with an instructions markdown heading 3

Web app

Screenshot of the nextcloud cookbook web app showing the description and instructions with rendered markdown for headings, list, and bolding Screenshot of the nextcloud cookbook web app showing the instructions and ingredients with rendered markdown for headings, list, and bolding

Not sure if needed but here's my current env info that you may need if this is actually a bug: Device: Samsung Galaxy S21 Ultra 5G OS: Android 14 Version: I downloaded your app, (Version 0.16.0 (38)), from the Google Play Store, though technically through aurora store.

jessebot commented 5 months ago

That was really fast! You killed it, @lneugebauer, thank you! 🙏

Could I kindly ask when this will be released, so I can update the app and try it out? Obviously no rush at all!