Skip to content

Url automatic linking for urls beginning with 'www' #593

Closed

Description

@chanthus

When urls are automatically linked, only the ones beginning with http:// or https:// are converted. Would it be possible to support www as well? Or Is there any way I can render them as anchor tags myself?

Activity

  1. delacruz-dev commented on Jul 4, 2016

    @delacruz-dev

    @chanthus hey, how did you fix this issue?

  2. chanthus commented on Jul 4, 2016

    @chanthus
    Author

    I was using this library in an angular app, so before piping the markdown through marked, urls are piped through a filter that prefixes http:// which then makes marked render them as proper links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions