We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb1bf8 commit e3b048dCopy full SHA for e3b048d
workspaces/documentation-ui/src/fetch.js
@@ -93,5 +93,8 @@ export async function fetchAndRenderByMenu(menuElement, kind = "flags") {
93
94
const documentContentElement = document.querySelector(`.documentation--${kind} .${CONSTANTS.DIV_CONTENT}`);
95
documentContentElement.innerHTML = kind === "flags" ? htmlResponse : `<div>${htmlResponse}</div>`;
96
+ documentContentElement.querySelectorAll("a").forEach((anchor) => {
97
+ anchor.setAttribute("target", "_blank");
98
+ });
99
hljs.highlightAll();
100
}
0 commit comments