You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ed3ffb
Browse filesBrowse the repository at this point in the historyBrowse files
docs(schema): note markdown support in website navigation text fields (#14503)
* docs(schema): note markdown support in navigation item text field
The `text` field for navbar/sidebar navigation items supports inline
markdown formatting, processed through the markdown pipeline in
website-navigation-md.ts. The schema description didn't say so.
Fixes#6858
* docs(schema): note markdown support in title, announcement, and footer fields
Several website navigation fields run through the markdown pipeline in
website-navigation-md.ts but their schema descriptions did not say so:
navbar/sidebar titles (navbarTitleHandler/sidebarTitleHandler),
announcement content (announcementHandler), and page-footer left/center/
right regions (footerHandler).
Refs #6858
Copy file name to clipboardExpand all lines: src/resources/editor/tools/vs-code.mjs
+17-16Lines changed: 17 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -8567,7 +8567,7 @@ var require_yaml_intelligence_resources = __commonJS({
8567
8567
},
8568
8568
text: {
8569
8569
string: {
8570
-
description: "Text to display for item (defaults to the\ndocument title if not provided)\n"
8570
+
description: "Text to display for item (defaults to the\ndocument title if not provided). Supports markdown formatting.\n"
8571
8571
}
8572
8572
},
8573
8573
url: {
@@ -9304,15 +9304,15 @@ var require_yaml_intelligence_resources = __commonJS({
9304
9304
properties: {
9305
9305
left: {
9306
9306
ref: "page-footer-region",
9307
-
description: "Footer left content"
9307
+
description: "Footer left content. Supports markdown formatting."
9308
9308
},
9309
9309
right: {
9310
9310
ref: "page-footer-region",
9311
-
description: "Footer right content"
9311
+
description: "Footer right content. Supports markdown formatting."
9312
9312
},
9313
9313
center: {
9314
9314
ref: "page-footer-region",
9315
-
description: "Footer center content"
9315
+
description: "Footer center content. Supports markdown formatting."
9316
9316
},
9317
9317
border: {
9318
9318
anyOf: [
@@ -9492,7 +9492,7 @@ var require_yaml_intelligence_resources = __commonJS({
9492
9492
properties: {
9493
9493
content: {
9494
9494
schema: "string",
9495
-
description: "The content of the announcement"
9495
+
description: "The content of the announcement. Supports markdown formatting."
9496
9496
},
9497
9497
dismissable: {
9498
9498
schema: "boolean",
@@ -9743,7 +9743,7 @@ var require_yaml_intelligence_resources = __commonJS({
9743
9743
"string",
9744
9744
"boolean"
9745
9745
],
9746
-
description: "The navbar title. Uses the project title if none is specified."
9746
+
description: "The navbar title. Uses the project title if none is specified. Supports markdown formatting."
9747
9747
},
9748
9748
logo: {
9749
9749
ref: "logo-light-dark-specifier",
@@ -9868,7 +9868,7 @@ var require_yaml_intelligence_resources = __commonJS({
9868
9868
"string",
9869
9869
"boolean"
9870
9870
],
9871
-
description: "The sidebar title. Uses the project title if none is specified."
9871
+
description: "The sidebar title. Uses the project title if none is specified. Supports markdown formatting."
9872
9872
},
9873
9873
logo: {
9874
9874
ref: "logo-light-dark-specifier",
@@ -21684,7 +21684,7 @@ var require_yaml_intelligence_resources = __commonJS({
21684
21684
short: "Name of bootstrap icon (e.g. <code>github</code>,\n<code>bluesky</code>, <code>share</code>)",
21685
21685
long: 'Name of bootstrap icon (e.g. <code>github</code>,\n<code>bluesky</code>, <code>share</code>) See <a href="https://icons.getbootstrap.com/" class="uri">https://icons.getbootstrap.com/</a> for a list of available\nicons'
21686
21686
},
21687
-
"Text to display for item (defaults to the document title if not\nprovided)",
21687
+
"Text to display for item (defaults to the document title if not\nprovided). Supports markdown formatting.",
21688
21688
"Alias for href",
21689
21689
'Value for rel attribute. Multiple space-separated values are\npermitted. See <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel" class="uri">https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel</a>\nfor a details.',
21690
21690
'Value for target attribute. See <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target" class="uri">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target</a>\nfor details.',
@@ -22903,7 +22903,7 @@ var require_yaml_intelligence_resources = __commonJS({
22903
22903
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object. Use <code>false</code> to\nexplicitly disable the logo.",
22904
22904
"Specification of a light logo",
22905
22905
"Specification of a dark logo",
22906
-
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
22906
+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object. Use <code>false</code> to\nexplicitly disable the logo.",
22907
22907
"Specification of a light logo",
22908
22908
"Specification of a dark logo",
22909
22909
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
@@ -23412,10 +23412,6 @@ var require_yaml_intelligence_resources = __commonJS({
23412
23412
"The identifier schema (e.g. <code>DOI</code>, <code>ISBN-A</code>,\netc.)",
23413
23413
"Creators of this publication.",
23414
23414
"Contributors to this publication.",
23415
-
"The subject of the publication.",
23416
-
"The subject text.",
23417
-
"An EPUB reserved authority value.",
23418
-
"The subject term (defined by the schema).",
23419
23415
{
23420
23416
short: "Text describing the specialized type of this publication.",
23421
23417
long: 'Text describing the specialized type of this publication.\nAn informative registry of specialized EPUB Publication types for use\nwith this element is maintained in the <a href="https://www.w3.org/publishing/epub32/epub-packages.html#bib-typesregistry">TypesRegistry</a>,\nbut Authors may use any text string as a value.'
@@ -23953,6 +23949,9 @@ var require_yaml_intelligence_resources = __commonJS({
23953
23949
"The mermaid built-in theme to use.",
23954
23950
"List of keywords to be included in the document metadata.",
23955
23951
"The document subject",
23952
+
"The subject text.",
23953
+
"An EPUB reserved authority value.",
23954
+
"The subject term (defined by the schema).",
23956
23955
"The document description. Some applications show this as\n<code>Comments</code> metadata.",
23957
23956
"The document category.",
23958
23957
"The copyright for this document, if any.",
@@ -25348,6 +25347,7 @@ var require_yaml_intelligence_resources = __commonJS({
25348
25347
stata: "*",
25349
25348
java: "//",
25350
25349
groovy: "//",
25350
+
kotlin: "//",
25351
25351
sed: "#",
25352
25352
perl: "#",
25353
25353
prql: "#",
@@ -25374,12 +25374,12 @@ var require_yaml_intelligence_resources = __commonJS({
25374
25374
mermaid: "%%"
25375
25375
},
25376
25376
"handlers/mermaid/schema.yml": {
25377
-
_internalId: 222775,
25377
+
_internalId: 222617,
25378
25378
type: "object",
25379
25379
description: "be an object",
25380
25380
properties: {
25381
25381
"mermaid-format": {
25382
-
_internalId: 222767,
25382
+
_internalId: 222609,
25383
25383
type: "enum",
25384
25384
enum: [
25385
25385
"png",
@@ -25395,7 +25395,7 @@ var require_yaml_intelligence_resources = __commonJS({
0 commit comments