Skip to content

Commit 354c580

Browse files
authored
Feature/issue 3377 (#3378)
* add theme option to beamer format schema. Closes #3377
1 parent f65ef85 commit 354c580

File tree

5 files changed

+20
-25
lines changed

5 files changed

+20
-25
lines changed

news/changelog-1.3.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
- Fix wrong page number in the TOC for appendices ([#3164](https://github.com/quarto-dev/quarto-cli/issues/3164)) (Thank you, @iusgit!)
2020

21+
## Beamer Format
22+
23+
- Document `theme` format metadata option ([#3377](https://github.com/quarto-dev/quarto-cli/issues/3377))
24+
2125
## Dates
2226

2327
- Properly fall back to language only locale when a supported language-region locale isn't available. ([#3059](https://github.com/quarto-dev/quarto-cli/issues/3059))

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14175,7 +14175,8 @@ var require_yaml_intelligence_resources = __commonJS({
1417514175
tags: {
1417614176
formats: [
1417714177
"$html-doc",
14178-
"revealjs"
14178+
"revealjs",
14179+
"beamer"
1417914180
]
1418014181
},
1418114182
schema: {
@@ -18935,11 +18936,7 @@ var require_yaml_intelligence_resources = __commonJS({
1893518936
},
1893618937
"If <code>true</code>, force the presence of the OJS runtime. If\n<code>false</code>, force the absence instead. If unset, the OJS runtime\nis included only if OJS cells are present in the document.",
1893718938
"Use the specified file as a style reference in producing a docx,\npptx, or odt file.",
18938-
"Theme name, theme scss file, or a mix of both.",
18939-
"The light theme name, theme scss file, or a mix of both.",
18940-
"The light theme name, theme scss file, or a mix of both.",
18941-
"The dark theme name, theme scss file, or a mix of both.",
18942-
"The dark theme name, theme scss file, or a mix of both.",
18939+
"The Beamer theme for this presentation.",
1894318940
"Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.",
1894418941
"Enables inclusion of Pandoc default CSS for this document.",
1894518942
"One or more CSS style sheets.",
@@ -20095,12 +20092,12 @@ var require_yaml_intelligence_resources = __commonJS({
2009520092
mermaid: "%%"
2009620093
},
2009720094
"handlers/mermaid/schema.yml": {
20098-
_internalId: 133567,
20095+
_internalId: 133704,
2009920096
type: "object",
2010020097
description: "be an object",
2010120098
properties: {
2010220099
"mermaid-format": {
20103-
_internalId: 133566,
20100+
_internalId: 133703,
2010420101
type: "enum",
2010520102
enum: [
2010620103
"png",

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

Lines changed: 5 additions & 8 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: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7151,7 +7151,8 @@
71517151
"tags": {
71527152
"formats": [
71537153
"$html-doc",
7154-
"revealjs"
7154+
"revealjs",
7155+
"beamer"
71557156
]
71567157
},
71577158
"schema": {
@@ -11911,11 +11912,7 @@
1191111912
},
1191211913
"If <code>true</code>, force the presence of the OJS runtime. If\n<code>false</code>, force the absence instead. If unset, the OJS runtime\nis included only if OJS cells are present in the document.",
1191311914
"Use the specified file as a style reference in producing a docx,\npptx, or odt file.",
11914-
"Theme name, theme scss file, or a mix of both.",
11915-
"The light theme name, theme scss file, or a mix of both.",
11916-
"The light theme name, theme scss file, or a mix of both.",
11917-
"The dark theme name, theme scss file, or a mix of both.",
11918-
"The dark theme name, theme scss file, or a mix of both.",
11915+
"The Beamer theme for this presentation.",
1191911916
"Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.",
1192011917
"Enables inclusion of Pandoc default CSS for this document.",
1192111918
"One or more CSS style sheets.",
@@ -13071,12 +13068,12 @@
1307113068
"mermaid": "%%"
1307213069
},
1307313070
"handlers/mermaid/schema.yml": {
13074-
"_internalId": 133567,
13071+
"_internalId": 133704,
1307513072
"type": "object",
1307613073
"description": "be an object",
1307713074
"properties": {
1307813075
"mermaid-format": {
13079-
"_internalId": 133566,
13076+
"_internalId": 133703,
1308013077
"type": "enum",
1308113078
"enum": [
1308213079
"png",

src/resources/schema/document-options.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
- name: theme
1010
tags:
11-
formats: [$html-doc, revealjs]
11+
formats: [$html-doc, revealjs, beamer]
1212
schema:
1313
anyOf:
1414
- string

0 commit comments

Comments
 (0)