forked from elyra-ai/canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: srikant <[email protected]>
- Loading branch information
1 parent
62ed288
commit 5c85847
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Images for the guide go here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// This takes any external links and adds _blank to make sure they open in a new tab. Links to other | ||
// pages within the documentation will remain in the same tab | ||
// Source: https://stackoverflow.com/questions/4425198/can-i-create-links-with-target-blank-in-markdown#answer-4425214 | ||
|
||
var links = document.links; | ||
for (var i = 0, linksLength = links.length; i < linksLength; i++) { | ||
if (links[i].hostname != window.location.hostname) { | ||
links[i].target = '_blank'; | ||
} | ||
} |