[FR] Markdown support in place descriptions #286
Closed
skrtskrt-ed
started this conversation in
Ideas
Replies: 2 comments
|
I'd love for basic markdown support in descriptions and the trip notes too |
0 replies
|
Hi 👋, Thank you @skrtskrt-ed for the idea, it was implemented in Thanks 🤝 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
Hey! Really enjoying TRIP so far.
I keep a fair bit of info in place descriptions (a short summary, address, phone, hours, a couple links), and adding markdown to the summary area would would be amazing.
Totally get it if it's out of scope. Love the app regardless!
Describe the solution you'd like
I noticed the description already renders through the linkify pipe into [innerHTML], so would it be possible to render descriptions as markdown instead of plain text + autolinked URLs? I think you could run the description through a markdown-to-HTML step (e.g. marked) before the existing AngularDomSanitizer, so it stays XSS-safe. Even just basic formatting —bold/italic, lists, and label links — would be so clutch.
Additional context
No response
Could you implement it?
Maybe - I can try with guidance
Implementation plan (optional)
All reactions