Open onionltd opened 2 years ago
I patched fider's markdown package so it consumes ENV variables, and then patched the configuration structs so it accepts a list of values - URIs. However, I later found that markdown rendering is handled by the frontend application and not the backend, except for the parts which deal with notifications and emails content.
I don't much understand the decision to have a markdown renderer on the frontend instead of just accepting already rendered content in form of HTML, but it is what it is. I wonder what's the best way to move forward.
gomarkdown allows adding items to the list of URLs which are safe to convert to HTML links. By default gomarkdown supports
http(s)://
,ftp://
, andmailto:
. I'm wondering what would be the best way to implement adding more from within the configuration file.