Expand my Community achievements bar.

SOLVED

How to open a hyperlink given in manuscript [text](link) in new window.

Avatar

Level 1

Hi,

I have made a text in manuscript to hyperlink using the notation [text](link) and then published the content in page, but when clicked on the hyperlink it is getting opened in the same window. How can I get same opened in new tab on clicking. 

Any help/suggestion would be appreciated...!!!

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

The Markdown implementation used in AEM does not support additional tag attributes. You need to use raw HTML in this case (although note the KB article linked to by Feike).

Regards,

Justin

View solution in original post

3 Replies

Avatar

Level 9

This seems to be html related question if I understand correctly unless you have specific issue with CQ5 or elaborate your question.

html links can be opened with target="_blank" in a new window

<a href="link_path" target="_blank">Link text</a>

Avatar

Correct answer by
Employee

Hi,

The Markdown implementation used in AEM does not support additional tag attributes. You need to use raw HTML in this case (although note the KB article linked to by Feike).

Regards,

Justin