Closed JonAugust closed 1 year ago
Hi, @JonAugust -- thank you for the issue.
After some research, I was able to override how Hugo renders links within the theme. Now, all links in markdown will automatically have target="_blank"
, so you don't need to add the HTML yourself. You can also add titles to your links to give readers more context about them (see examples below).
Markdown:
This is a [test link](https://google.com/ "Google") with a title.
Result:
This is a [test link](https://google.com/) without a title.
Result:
I hope this helps! :slightly_smiling_face:
Awesome! Thank you for adding this!
I'm trying to include links with a target to _blank. I don't think markdown allows for that and I've read the solution is to just use real html:
<a href="https://ASiteWithArticles.com/" target="_blank">Articles!</a>
But, my Hugo/Poison environment seems to strip these completely. Is there a solution to this issue?
Thank you for your help!