gerritvanaaken Posted February 23, 2017 Share Posted February 23, 2017 I’m using the core-embedded TextformatterMarkdownExtra module, but I do not like the autolinking of URLs. Can it be turned off somehow, or do I have to install a custom Textformatter plugin which has this option turned off? Link to comment Share on other sites More sharing options...
Robin S Posted February 23, 2017 Share Posted February 23, 2017 5 hours ago, gerritvanaaken said: Can it be turned off somehow, or do I have to install a custom Textformatter plugin which has this option turned off? The module does not allow for any Parsedown settings to be set in the module config, so you will have to copy the module to /site/modules/ and make changes there. If you use the Parsedown Extra flavour then you would edit line 70: $str = $extra->setUrlsLinked(false)->text($str); If you use the 'normal' flavour then do the same for line 62. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now