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

Markdown support for recipe notes #1426

Open
Felttrip opened this issue Jul 29, 2024 · 1 comment
Open

Markdown support for recipe notes #1426

Felttrip opened this issue Jul 29, 2024 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@Felttrip
Copy link
Contributor

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

  • Render HTML in notes
    • Not a fan of adding that level of markup language to the notes, If the recipe was in plain text it should still be easily readable in my opinion.
  • Use markdown syntax in the notes field without rendering the markdown
    • Font is not monospaced so getting the table lined up looks weird.
    • The notes appear to get post processed in some way ala white space stripping so trying to make the table look nice doesn't work.

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.

@Felttrip Felttrip added the feature New feature or request label Jul 29, 2024
@julianpoy
Copy link
Owner

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.

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

No branches or pull requests

2 participants