Ticket #1320 (new enhancement) — at Version 2

Opened 3 years ago

Last modified 3 years ago

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:1 Changed 3 years ago by zephod

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).

comment:2 Changed 3 years ago by zephod

  • Description modified (diff)
Note: See TracTickets for help on using tickets.