Skip to content

Commit 91e3544

Browse files
committed
open links in new tab
1 parent 32fca0c commit 91e3544

File tree

3 files changed

+8093
-2195
lines changed

3 files changed

+8093
-2195
lines changed

Diff for: .changeset/polite-dancers-pump.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@htmldocs/render": patch
3+
---
4+
5+
open links in new tab

Diff for: packages/render/src/renderAsync.ts

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export const renderAsync = async (
121121
<!DOCTYPE html>
122122
<html>
123123
<head>
124+
<base target="_blank">
124125
${documentCss ? `<style>${documentCss}</style>` : ""}
125126
<style>${cssText}</style>
126127
${extractedHeadContents}

0 commit comments

Comments
 (0)