Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Improve handling of YAML and titles in notebooks (auto-merge heading based title with YAML front matter)
- Discard matplotlib, seaborn, and plotnine intermediate objects from output
- With IJulia's miniconda python env, search for `python` in addition to `python3` ([#4821](https://github.com/quarto-dev/quarto-cli/issues/4821)).
- Allow `export:` as a cell yaml option to support new nbdev syntax ([#3152](https://github.com/quarto-dev/quarto-cli/issues/3152)).

## Knitr engine

Expand Down
18 changes: 14 additions & 4 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7057,6 +7057,15 @@ var require_yaml_intelligence_resources = __commonJS({
short: "Notebook cell identifier",
long: "Notebook cell identifier. Note that if there is no cell `id` then `label` \nwill be used as the cell `id` if it is present.\nSee <https://jupyter.org/enhancement-proposals/62-cell-id/cell-id.html>\nfor additional details on cell ids.\n"
}
},
{
name: "export",
tags: {
engine: "jupyter"
},
schema: null,
hidden: true,
description: "nbconvert tag to export cell"
}
],
"schema/cell-cache.yml": [
Expand Down Expand Up @@ -21059,7 +21068,8 @@ var require_yaml_intelligence_resources = __commonJS({
long: "Title of the volume of the item or container holding the item.\nAlso use for titles of periodical special issues, special sections,\nand the like."
},
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
"internal-schema-hack"
"internal-schema-hack",
"nbconvert tag to export cell"
],
"schema/external-schemas.yml": [
{
Expand Down Expand Up @@ -21283,12 +21293,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 148648,
_internalId: 152480,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 148640,
_internalId: 152472,
type: "enum",
enum: [
"png",
Expand All @@ -21304,7 +21314,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 148647,
_internalId: 152479,
type: "anyOf",
anyOf: [
{
Expand Down
18 changes: 14 additions & 4 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.

18 changes: 14 additions & 4 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
"short": "Notebook cell identifier",
"long": "Notebook cell identifier. Note that if there is no cell `id` then `label` \nwill be used as the cell `id` if it is present.\nSee <https://jupyter.org/enhancement-proposals/62-cell-id/cell-id.html>\nfor additional details on cell ids.\n"
}
},
{
"name": "export",
"tags": {
"engine": "jupyter"
},
"schema": null,
"hidden": true,
"description": "nbconvert tag to export cell"
}
],
"schema/cell-cache.yml": [
Expand Down Expand Up @@ -14035,7 +14044,8 @@
"long": "Title of the volume of the item or container holding the item.\nAlso use for titles of periodical special issues, special sections,\nand the like."
},
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
"internal-schema-hack"
"internal-schema-hack",
"nbconvert tag to export cell"
],
"schema/external-schemas.yml": [
{
Expand Down Expand Up @@ -14259,12 +14269,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 148648,
"_internalId": 152480,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 148640,
"_internalId": 152472,
"type": "enum",
"enum": [
"png",
Expand All @@ -14280,7 +14290,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 148647,
"_internalId": 152479,
"type": "anyOf",
"anyOf": [
{
Expand Down
7 changes: 7 additions & 0 deletions src/resources/schema/cell-attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@
will be used as the cell `id` if it is present.
See <https://jupyter.org/enhancement-proposals/62-cell-id/cell-id.html>
for additional details on cell ids.

- name: export
tags:
engine: jupyter
schema: null
hidden: true
description: "nbconvert tag to export cell"
9 changes: 9 additions & 0 deletions tests/docs/smoke-all/2023/03/24/3152.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
format: html
engine: jupyter
---

```{python}
#| export:
print("hi")
```