Harvey Tindall
44558b8109
Discord: Remove extra newlines around links
...
Since links are converted into embeds, links put on their own line often
lead to extra newlines that looks pretty weird. They should now be
stripped.
4 years ago
Harvey Tindall
591e3c5ca1
Discord: embed images
...
![alt](image link) is now converted to an image embed.
4 years ago
Harvey Tindall
3bf722c5fe
Discord: send links as embeds
...
Kind of janky but works. This kind of messes up the layout if you write
links in-line.
4 years ago
Harvey Tindall
a0a25d64f1
rewrite stripmd, fix some typos
...
doesn't work any better, but more efficient and doesn't require
eyebleach after viewing.
4 years ago
Harvey Tindall
058cac2e7b
implement email editor w/ live(?) preview
...
not accessible in the ui currently, but the object is available as
window.ee for testing.
4 years ago
Harvey Tindall
98d59ba4e0
don't strip text on images
4 years ago
Harvey Tindall
938523c18b
fix urls in custom email/announcements
...
Uses a nasty algorithm found in stripmd.go to change all occurrences
of '[linktext](link)' to just 'link' before passing to a decent markdown
stripper.
4 years ago