FossifyOrg / Notes

A simple text field for adding quick notes without ads.
https://www.fossify.org
GNU General Public License v3.0
158 stars 15 forks source link

Render Markdown. #22

Open RokeJulianLockhart opened 5 months ago

RokeJulianLockhart commented 5 months ago

Checklist

Feature description

Ideally, choose a Markdown processor which supports basic HTML tags like <blockQuote> and <details>.

Why do you want this feature?

Because I want plain-text formatting to be available to the masses, and more importantly, me.

Additional information

Replaces https://github.com/FossifyOrg/General-Discussion/issues/126#issue-2144777286 and https://github.com/FossifyOrg/Notes/issues/2#issue-2036044559 per @Aga-C's request at https://github.com/FossifyOrg/General-Discussion/issues/126#issuecomment-1954617215.

RokeJulianLockhart commented 5 months ago

https://github.com/FossifyOrg/Notes/issues/22#issue-2144835614

From https://github.com/FossifyOrg/General-Discussion/issues/126#issuecomment-1954631456, duplicated per @Aga-C's instruction at https://github.com/FossifyOrg/General-Discussion/issues/126#issuecomment-1954677179:

1. > Calendars rather use HTML than Markdown and there is already a feature request for that: https://github.com/FossifyOrg/Calendar/issues/12. That's not sufficient, because the entire raison d’être for Markdown is that it's legible as plain text, hence why HTML is frequently necessary to supplement it — its purview is narrow, but it's incredibly powerful despite it. 1. > Why would you need markdown support in Contacts? I know we have a Notes field, but it's a one-line input. That's why it would rather require a whole feature request to even change the single-line field to multi-line. Whether it's single-line or multiline isn't of significance to me, because I can still write as much in it as if it were multiline, there merely won't be paragraph breaks. However, how do you handle multiline note content served externally, if that's so? I do hope that an FR exists to make it multiline. If not, I'll create one. I use my contacts like a CRM somewhat, in that I just put more information in there than most people do. It's a necessity of my employment, hence the need for at least basic formatting. 1. > In Notes, there's already a feature request for that, but raised wrongly: https://github.com/FossifyOrg/Notes/issues/2. If you'd like, you can raise it once again, and I'll close the old one. I'll do so.