ryantm
(Ryan Mulligan)
August 10, 2018, 5:43pm
1
Hi!
I would like to add an additional scheme/protocol to the auto Markdown linkifier, because my company uses a custom schema for internal processes.
It looks like the feature enabled by default called “enable markdown linkify” uses this project:
https://github.com/markdown-it/linkify-it
which talks about adding additional schemes in its readme.
Has someone found a nice way to do this with Discourse? Can anyone offer advice on the best way to inject configuration into the linkify-it javascript library?
Sincerely,
Ryan
cpradio
(cpradio)
August 10, 2018, 8:01pm
2
This is a really good plugin that implements a different plugin for markdown into Discourse, you can use it as an example on how to integrate linkify
2 Likes
ryantm
(Ryan Mulligan)
August 10, 2018, 8:04pm
3
I’m thinking that since there is already a option for adding TLDs the Discourse team might be amenable to a PR that adds schemes.
sam
(Sam Saffron)
August 10, 2018, 11:24pm
4
I think start with a plugin here, not sure I want to carry an extra setting quite yet
4 Likes