Links Rendered by Marked.js Open in New Tab? (Markdown Previewer Project)

Links Rendered by Marked.js Open in New Tab? (Markdown Previewer Project)
0.0 0

#1

Hi Coders!

Here’s the (optional) instruction from the Markdown Previewer Project that I’m grappling with:

When I click a link rendered by my markdown previewer, the link is opened up in a new tab (HINT: read the Marked.js docs for this one!).

The main Marked.js doc, their advanced configurations page, and their extensibility page all don’t have anything about “link,” “target,” or “tab” – search terms I used. And in Marked’s demo, when I click on a link, it opens in the same page.

Any advice for getting more out of these docs? Should I be looking out for more subtle clues?

If not, I’ll write my own function to take care of it. :stuck_out_tongue_closed_eyes:

Thanks!
-jan


#2

I think this might be an oversight, and should possibly have been removed from the challenge - see this issue:

Possibly @vipatron knows more about it


#3

Perfect! Thanks Dan. That answers it. That instruction should indeed be removed. Good to know :smile: