Ticket #1320 (closed enhancement: fixed)
Extend basic markdown to support normal http / https links
Reported by: | rgrp | Owned by: | zephod |
---|---|---|---|
Priority: | major | Milestone: | ckan-sprint-2011-10-10 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description (last modified by zephod) (diff)
It is very annoying that you have to wrap links in <...> and most people don't bother. Extend h.markdown in code and markdown in js to fix this.
(We should also support 'package' links etc in javascript?)
*ADDITIONAL*
- Note that CKAN flavoured markdown will not currently recognise dataset:my_data links (still uses package).
- Move the markdown api to /util/markdown
Change History
comment:3 Changed 3 years ago by zephod
- Milestone changed from ckan-backlog to ckan-sprint-2011-10-10
Slightly painful when links appear inside naughty HTML tags or in markdown tags. Restriction: Links are auto-linked if they appear at the start of a line or after whitespace.
cset:f9dfb0506594
Note: See
TracTickets for help on using
tickets.
Extend misc.py to regex find http and https, surrounding it with <>. ALSO note that CKAN flavoured markdown will not currently recognise dataset:my_data links (still uses package).