ryantm
(Ryan Mulligan)
10. August 2018 um 17:43
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)
10. August 2018 um 20:01
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 „Gefällt mir“
ryantm
(Ryan Mulligan)
10. August 2018 um 20:04
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)
10. August 2018 um 23:24
4
I think start with a plugin here, not sure I want to carry an extra setting quite yet
4 „Gefällt mir“