Skip to content

Commit

Permalink
fix: Confusing link-external-filter example
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Sep 16, 2024
1 parent 81b2732 commit 8657daa
Show file tree
Hide file tree
Showing 5 changed files with 3,822 additions and 17 deletions.
15 changes: 10 additions & 5 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15896,7 +15896,7 @@ var require_yaml_intelligence_resources = __commonJS({
schema: "string",
description: {
short: "A regular expression that can be used to determine whether a link is an internal link.",
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"
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"
}
},
{
Expand Down Expand Up @@ -21400,7 +21400,7 @@ var require_yaml_intelligence_resources = __commonJS({
"Short/abbreviated form of container-title;",
"A minor contributor to the item; typically cited using \u201Cwith\u201D before\nthe name when listed in a bibliography.",
"Curator of an exhibit or collection (e.g. in a museum).",
"Physical (e.g. size) or temporal (e.g.\uFFFD\uFFFDrunning time) dimensions of\nthe item.",
"Physical (e.g. size) or temporal (e.g. running time) dimensions of\nthe item.",
"Director (e.g. of a film).",
"Minor subdivision of a court with a <code>jurisdiction</code> for a\nlegal item",
"(Container) edition holding the item (e.g.&nbsp;\u201C3\u201D when citing a chapter\nin the third edition of a book).",
Expand Down Expand Up @@ -21583,6 +21583,11 @@ var require_yaml_intelligence_resources = __commonJS({
"A link or path to the brand\u2019s medium-sized logo, or a link or path to\nboth the light and dark versions.",
"A link or path to the brand\u2019s large- or full-sized logo, or a link or\npath to both the light and dark versions.",
"Names of customizeable logos",
"Source path or source path with layout options for logo",
"X-Y positioning of logo",
"Padding of logo",
"Width of logo",
"Source path of logo",
"The brand\u2019s custom color palette and theme.",
"The brand\u2019s custom color palette. Any number of colors can be\ndefined, each color having a custom name.",
"The foreground color, used for text.",
Expand Down Expand Up @@ -23908,12 +23913,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 187585,
_internalId: 187602,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 187577,
_internalId: 187594,
type: "enum",
enum: [
"png",
Expand All @@ -23929,7 +23934,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 187584,
_internalId: 187601,
type: "anyOf",
anyOf: [
{
Expand Down
15 changes: 10 additions & 5 deletions src/resources/editor/tools/yaml/web-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -8868,7 +8868,7 @@
"schema": "string",
"description": {
"short": "A regular expression that can be used to determine whether a link is an internal link.",
"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"
"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"
}
},
{
Expand Down Expand Up @@ -14372,7 +14372,7 @@
"Short/abbreviated form of container-title;",
"A minor contributor to the item; typically cited using “with” before\nthe name when listed in a bibliography.",
"Curator of an exhibit or collection (e.g.&nbsp;in a museum).",
"Physical (e.g.&nbsp;size) or temporal (e.g.��running time) dimensions of\nthe item.",
"Physical (e.g.&nbsp;size) or temporal (e.g.&nbsp;running time) dimensions of\nthe item.",
"Director (e.g.&nbsp;of a film).",
"Minor subdivision of a court with a <code>jurisdiction</code> for a\nlegal item",
"(Container) edition holding the item (e.g.&nbsp;“3” when citing a chapter\nin the third edition of a book).",
Expand Down Expand Up @@ -14555,6 +14555,11 @@
"A link or path to the brand’s medium-sized logo, or a link or path to\nboth the light and dark versions.",
"A link or path to the brand’s large- or full-sized logo, or a link or\npath to both the light and dark versions.",
"Names of customizeable logos",
"Source path or source path with layout options for logo",
"X-Y positioning of logo",
"Padding of logo",
"Width of logo",
"Source path of logo",
"The brand’s custom color palette and theme.",
"The brand’s custom color palette. Any number of colors can be\ndefined, each color having a custom name.",
"The foreground color, used for text.",
Expand Down Expand Up @@ -16880,12 +16885,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 187585,
"_internalId": 187602,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 187577,
"_internalId": 187594,
"type": "enum",
"enum": [
"png",
Expand All @@ -16901,7 +16906,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 187584,
"_internalId": 187601,
"type": "anyOf",
"anyOf": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/resources/schema/document-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
short: "A regular expression that can be used to determine whether a link is an internal link."
long: |
A regular expression that can be used to determine whether a link is an internal link. For example,
the following will treat links that start with http://www.quarto.org as internal links (and others
will be considered external):
the following will treat links that start with `http://www.quarto.org/custom` or `https://www.quarto.org/custom`
as internal links (and others will be considered external):
```
^(?:http:|https:)\/\/www\.quarto\.org\/custom
Expand Down
Loading

0 comments on commit 8657daa

Please sign in to comment.