MAS1112 MAS1112 - 1 year ago 104
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.

Answer Source

Use markdown filter like this

  this is the start of the para.
  [a link](
  and this is the rest of the paragraph.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download