markdown-it / linkify-it

Links recognition library with full unicode support
http://markdown-it.github.io/linkify-it/
MIT License
655 stars 63 forks source link

Doesn't seem to support domain-specific rules #89

Closed Friction-less-development closed 4 years ago

Friction-less-development commented 4 years ago

As far as I can tell it seems that this library doesn't allow you to add transformation rules for specific domains.

For example if you wanted to transform all youtube links to embedded videos. Or twitter links to embedded components.

Any thoughts, should I try my hand at it?

puzrin commented 4 years ago

This is out of this package scope.

See https://github.com/nodeca/embedza or similar things.