[ckan-discuss] How to avoid hyperlink creation when writing down URIs in markdown?
redondogarciajesus at gmail.com
Wed Dec 11 12:29:01 UTC 2013
Hello Hendrik, thanks for the precise info!
Mark Wainwright (mark.wainwright at okfn.org) found a workaround to avoid the
automatic generation of links, you can see it here (
Thank you for your neat solution.
On Wed, Dec 11, 2013 at 1:19 PM, Hendrik Bunke <bunke.hendrik at gmail.com>wrote:
> the hyperlink is set by the helper function render_markdown() (in
> ckan/lib/helpers.py). It has a parameter 'auto_link' which is set
> to True by default. Setting this to 'False'' avoids automatic
> hyperlink generation. There might be a config option somewhere, I
> don't know.
> --On 2013-12-10 12:18, Jesús Redondo wrote:
> > Hello, I am developing a portal using CKAN 2.0.1
> > My problem is the following: I want to include some URIs in the
> > of the datasets, but I don´t want all of those URIs to be displayed as
> > hyperlinks (which is automatically done by the Markdown language). So, is
> > there any way to tell the markdown parser this peculiarity?: -" I don´t
> > want this URI to be displayed as a hyperlink. "
> > I guess there must be some kind of escape character or word to avoid the
> > markdown parser, and it could make the trick. But I can't figure it out
> > reading its documentation:
> > http://daringfireball.net/projects/markdown/syntax
> > NOTE: the block code (adding four spaces or ``) also generates
> > so that's not a solution neither (which is funny, because in
> > it doesn't generate any link, I guess they use its own Markdown parser).
> > Thank you, I do appreciate the help.
> > Jesús
> > _______________________________________________
> > ckan-discuss mailing list
> > ckan-discuss at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-discuss
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
> Dr. Hendrik Bunke
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ckan-discuss