ryantm
(Ryan Mulligan)
10 أغسطس 2018، 5: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 أغسطس 2018، 8: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)
ryantm
(Ryan Mulligan)
10 أغسطس 2018، 8: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 أغسطس 2018، 11:24م
4
I think start with a plugin here, not sure I want to carry an extra setting quite yet
4 إعجابات