Skip to content

Commit 403c88c

Browse files
authored
Merge pull request #12481 from quarto-dev/bugfix/10780
schemas - improve document-links docs
2 parents b25c2fb + 09e5429 commit 403c88c

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

news/changelog-1.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ All changes included in 1.7:
6262
- ([#12319](https://github.com/quarto-dev/quarto-cli/pull/12319)): Provide switchable light and dark brands for a page with `brand.light` and `brand.dark`.
6363
- ([#12277](https://github.com/quarto-dev/quarto-cli/pull/12277)): Provide light and dark plot and table renderings with `renderings: [light,dark]`
6464
- ([#11860](https://github.com/quarto-dev/quarto-cli/issues/11860)): ES6 modules that import other local JS modules in documents with `embed-resources: true` are now correctly embedded.
65+
- ([#10780])(https://github.com/quarto-dev/quarto-cli/issues/10780)): improve `link-external-filter` documentation.
6566
- ([#1325](https://github.com/quarto-dev/quarto-cli/issues/1325)): Dark Mode pages should not flash light on reload. (Nor should Light Mode pages flash dark.)
6667
- ([#1470](https://github.com/quarto-dev/quarto-cli/issues/1470)): `respect-user-color-scheme` enables checking the media query `prefers-color-scheme` for user dark mode preference. This is only on page load, not dynamic. Author preference still influences stylesheet order and NoJS experience. Defaults to `false`, leaving to author preference.
6768
- ([#12307](https://github.com/quarto-dev/quarto-cli/issues/12307)): Tabsets using `tabby.js` in non-boostrap html (`theme: pandoc`, `theme: none` or `minimal: true`) now correctly render reactive content when `server: shiny` is used.

src/resources/editor/tools/vs-code.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16123,7 +16123,7 @@ var require_yaml_intelligence_resources = __commonJS({
1612316123
schema: "string",
1612416124
description: {
1612516125
short: "A regular expression that can be used to determine whether a link is an internal link.",
16126-
long: "A regular expression that can be used to determine whether a link is an internal link. For example, \nthe following will treat links that start with http://www.quarto.org as internal links (and others\nwill be considered external):\n\n```\n^(?:http:|https:)\\/\\/www\\.quarto\\.org\\/custom\n```\n"
16126+
long: "A regular expression that can be used to determine whether a link is an internal link. For example, \nthe following will treat links that start with `http://www.quarto.org/custom` or `https://www.quarto.org/custom`\nas internal links (and others will be considered external):\n\n```\n^(?:http:|https:)\\/\\/www\\.quarto\\.org\\/custom\n```\n"
1612716127
}
1612816128
},
1612916129
{
@@ -21985,7 +21985,7 @@ var require_yaml_intelligence_resources = __commonJS({
2198521985
long: "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g.&nbsp;for cross references <code>fig-samples</code> or\n<code>tbl-summary</code>)"
2198621986
},
2198721987
"Classes to apply to cell container",
21988-
"Array of rendering names",
21988+
"Array of rendering names, e.g.&nbsp;<code>[light, dark]</code>",
2198921989
"Array of tags for notebook cell",
2199021990
{
2199121991
short: "Notebook cell identifier",
@@ -22965,8 +22965,8 @@ var require_yaml_intelligence_resources = __commonJS({
2296522965
"Enables tabsets to present content.",
2296622966
"Enables smooth scrolling within the page.",
2296722967
{
22968-
short: "Whether the <code>prefers-color-scheme</code> media query controls\ndark mode.",
22969-
long: "Whether to use the <code>prefers-color-scheme</code> media query to\ndetermine whether to show the user a dark or light page. Otherwise the\nauthor preference (order of <code>light</code> and <code>dark</code> in\n<code>theme</code> or <code>brand</code>) determines what is shown to\nthe user at first visit."
22968+
short: "Enables setting dark mode based on the\n<code>prefers-color-scheme</code> media query.",
22969+
long: "If set, Quarto reads the <code>prefers-color-scheme</code> media\nquery to determine whether to show the user a dark or light page.\nOtherwise the author-preferred color scheme is shown."
2297022970
},
2297122971
{
2297222972
short: "Method use to render math in HTML output",

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9095,7 +9095,7 @@
90959095
"schema": "string",
90969096
"description": {
90979097
"short": "A regular expression that can be used to determine whether a link is an internal link.",
9098-
"long": "A regular expression that can be used to determine whether a link is an internal link. For example, \nthe following will treat links that start with http://www.quarto.org as internal links (and others\nwill be considered external):\n\n```\n^(?:http:|https:)\\/\\/www\\.quarto\\.org\\/custom\n```\n"
9098+
"long": "A regular expression that can be used to determine whether a link is an internal link. For example, \nthe following will treat links that start with `http://www.quarto.org/custom` or `https://www.quarto.org/custom`\nas internal links (and others will be considered external):\n\n```\n^(?:http:|https:)\\/\\/www\\.quarto\\.org\\/custom\n```\n"
90999099
}
91009100
},
91019101
{
@@ -14957,7 +14957,7 @@
1495714957
"long": "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g.&nbsp;for cross references <code>fig-samples</code> or\n<code>tbl-summary</code>)"
1495814958
},
1495914959
"Classes to apply to cell container",
14960-
"Array of rendering names",
14960+
"Array of rendering names, e.g.&nbsp;<code>[light, dark]</code>",
1496114961
"Array of tags for notebook cell",
1496214962
{
1496314963
"short": "Notebook cell identifier",
@@ -15937,8 +15937,8 @@
1593715937
"Enables tabsets to present content.",
1593815938
"Enables smooth scrolling within the page.",
1593915939
{
15940-
"short": "Whether the <code>prefers-color-scheme</code> media query controls\ndark mode.",
15941-
"long": "Whether to use the <code>prefers-color-scheme</code> media query to\ndetermine whether to show the user a dark or light page. Otherwise the\nauthor preference (order of <code>light</code> and <code>dark</code> in\n<code>theme</code> or <code>brand</code>) determines what is shown to\nthe user at first visit."
15940+
"short": "Enables setting dark mode based on the\n<code>prefers-color-scheme</code> media query.",
15941+
"long": "If set, Quarto reads the <code>prefers-color-scheme</code> media\nquery to determine whether to show the user a dark or light page.\nOtherwise the author-preferred color scheme is shown."
1594215942
},
1594315943
{
1594415944
"short": "Method use to render math in HTML output",

src/resources/schema/document-links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
short: "A regular expression that can be used to determine whether a link is an internal link."
1919
long: |
2020
A regular expression that can be used to determine whether a link is an internal link. For example,
21-
the following will treat links that start with http://www.quarto.org as internal links (and others
22-
will be considered external):
21+
the following will treat links that start with `http://www.quarto.org/custom` or `https://www.quarto.org/custom`
22+
as internal links (and others will be considered external):
2323
2424
```
2525
^(?:http:|https:)\/\/www\.quarto\.org\/custom

0 commit comments

Comments
 (0)