[ckan-dev] How to avoid hyperlink creation when writing down URIs in markdown?

Jason Tan jason.tan at ersa.edu.au
Wed Dec 11 23:35:56 UTC 2013


HI There,

Just a wild guess:
`http://someurl.com` (the marks are backticks - this is the inline code
markup so it might cause the font to change to monospace)
http://someurl.com    : and / are the HTML special
characters for : and / respectively, they should cause the characters they
represent to be rendered and not interpreted.

Jason


On 11 December 2013 19:17, Mark Wainwright <mark.wainwright at okfn.org> wrote:

> I'm sure there is a better way, but this very nasty hack seems to do the
> trick:
>
> http[]()://example.com/
>
> I've jammed Markdown's radar with some empty markup (an empty link
> with no text).
>
> Mark
>
> On 11/12/2013, Jesús Redondo <redondogarciajesus at gmail.com> wrote:
> > Hello and sorry for the cross-posting.
> >
> > I am developing a portal using CKAN 2.0.1
> >
> > My problem is the following: I want to include some URIs in the
> descrition
> > 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
> by
> > reading its documentation:
> > http://daringfireball.net/projects/markdown/syntax
> >
> > NOTE: the block code (adding four spaces or ``) also generates
> hyperlinks,
> > so that's not a solution neither (which is funny, because in
> stackoverflow
> > it doesn't generate any link, I guess they use a different Markdown
> > parser).
> >
> > Thank you, I do appreciate the help.
> >
> > Jesús,
> >
>
>
> --
> Business development and user engagement manager
> The Open Knowledge Foundation
> Empowering through Open Knowledge
> http://okfn.org/  |  @okfn  |  http://ckan.org  |  @CKANproject
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>



-- 
Jason Tan
Data Infrastructure Specialist, eResearch SA

phone: +61 8 8313 2184
Mob: +61 407 268 270
email: jason.tan at ersa.edu.au
web: http://www.ersa.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131212/61fbe72f/attachment-0003.html>


More information about the ckan-dev mailing list