Skip to content

Commit 9803343

Browse files
committed
test: add book test for repo-link-rel and repo-link-target
1 parent 9311ca8 commit 9803343

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
project:
2+
type: book
3+
4+
book:
5+
title: "issue13769"
6+
author: "Norah Jones"
7+
date: "12/10/2025"
8+
repo-url: "https://github.com/quarto-dev/quarto-cli"
9+
repo-link-target: "_blank"
10+
repo-link-rel: "noreferrer"
11+
repo-actions: none
12+
chapters:
13+
- index.qmd
14+
15+
16+
format:
17+
html:
18+
theme:
19+
- cosmo
20+
- brand
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
format: html
3+
_quarto:
4+
tests:
5+
html:
6+
ensureHtmlElements:
7+
- ['rel="noreferrer"']
8+
- ['target="_blank"']
9+
---
10+
11+
# Preface
12+
13+
This is a Quarto book.
14+
15+
To learn more about Quarto books visit <https://quarto.org/docs/books>.

0 commit comments

Comments
 (0)