julianpoy / RecipeSage

A Collaborative Recipe Keeper, Meal Planner, and Shopping List Organizer in PWA form.
https://recipesage.com
639 stars 64 forks source link

Markdown support for recipe notes #1426

Open Felttrip opened 3 months ago

Felttrip commented 3 months ago

Is your new feature related to a problem? Please describe. When writing notes on a recipe there are situations where there is tabular data, like a table of sous vide temperatures and meat textures. It would be nice if this was well formatted when viewing the recipe.

Example Cooking Temperatures Description
145°F (63°C) for 24 to 36 hours Very tender and moist; not very shreddable. Better for cubing or searing as slabs.
165°F (74°C) for 12 to 24 hours Moist and easy to shred with your hands or forks
185°F (85°C) for 8 to 16 hours Traditional texture that shreds naturally

Describe the solution you'd like Markdown support for recipe notes so a user can use markdown table syntax, and any other markdown features when formatting their notes.

Describe alternatives you've considered

Additional context Heres some screenshot ideas How it currently looks Screenshot 2024-07-29 at 12 59 21 PM How it could look

Screenshot 2024-07-29 at 1 11 39 PM

Also I'd be interested in attempting to implement this, just wanted to see if it would be a feature you would be interested in supporting. An additional thought is that whatever is being used to generate the print versions of the recipe would also want to support this.

julianpoy commented 3 months ago

I'd like to ultimately implement rich text editing using a WYSIWYG such as Tiptap rather than markdown. Tiptap does support markdown shortcuts, so that'd cover this.