Skip to content

Auto detect URL in the proposal and highlight #539

Open

Description

@kracekumar

When a user misses using markdown syntax to highlight the URL in the proposal section, automatically highlight the URL in the text.

URL: https://in.pycon.org/cfp/2017/proposals/pytorch-for-the-tensorflow-developers-and-others-dl-enthusiasts~dLApe/

url_missing_highlight

Activity

  1. kracekumar commented on Jul 6, 2017

    @kracekumar
    MemberAuthor

    In the above description, I didn't use Markdown syntax, still, GH highlights the URL.

  2. mish24 commented on Aug 20, 2017

    @mish24

    Taking this up

  3. kracekumar commented on Aug 20, 2017

    @kracekumar
    MemberAuthor

    @mish24 Please go ahead.

  4. mish24 commented on Aug 20, 2017

    @mish24

    @kracekumar mostly in content_urls there's the need to use angular brackets to identify multiple URLs and convert them. This won't recognize any link if it's already inside any block of code. Basically I was going to implement simple regex scraping for storing urls here. Shall I go ahead? In my opinion telling the users to use angular brackets seems like a much better option. What are your thoughts?

  5. kracekumar commented on Aug 26, 2017

    @kracekumar
    MemberAuthor

    @mish24 Giving heads up the field supports the markdown is an excellent option. The form field should auto detect URLs and add respective markup. I'm sure the existing Markdown Field or another plugin can do this. Can you look around?

  6. mish24 commented on Aug 27, 2017

    @mish24

    Yeah. I'll upgrade to django-markdown2 and write some filters. That'll do it. Sending PR soon

  7. smtchahal commented on Jan 7, 2018

    @smtchahal
    Contributor

    This seemed to work fine until 408f0c0 removed the 'linkify' markdown extension, any reason why that was done?

  8. added this to the Enhancements milestone on Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions