MAS1112 MAS1112 - 2 months ago 8
Jade Question

Parse URL and create Links On Plain-Text Jade

I am getting plain-text in which there could be a URL.

For Example
: learn abc in one day

Here I am having a URL. I want to convert it has a link. I am using Jade template engine. Is there a way to do this in Jade template engine.


Use markdown filter like this

  this is the start of the para.
  [a link](
  and this is the rest of the paragraph.