Skip to content

Commit

Permalink
Follow previous format
Browse files Browse the repository at this point in the history
  • Loading branch information
cwickham committed Mar 28, 2024
1 parent 5f4f7b8 commit 0b0ade5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
16 changes: 4 additions & 12 deletions docs/prerelease/1.5/_highlights.qmd
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
#### Website Draft Mode
Quarto 1.5 includes the following new features:

Quarto websites now have improved support for workflows involving draft posts and pages. Learn more about our [new draft support](/docs/prerelease/1.5/website-drafts.qmd).
- [Website Draft Mode](/docs/prerelease/1.5/website-drafts.qmd)---Improved support for workflows involving draft posts and pages.

#### Project Pre Render Scripts
- [Project Pre Render Scripts](/docs/prerelease/1.5/pre-render.qmd)---Project metadata and the render list are now re-computed after any pre-render scripts have executed.

Previously, project metadata and the project render list were loaded prior to executing any pre-render scripts for a project. This prevented these pre-render scripts from modifying any project metadata or adding to the render list (for example by generating `qmd` files or `ipynb` files that should be rendered).

Starting in Quarto 1.5, the project metadata and render list will be re-computed after any pre-render scripts have executed, allowing them to modify this project data.

Note that pre-render scripts cannot modify the project directory, the output directory, or the project type. If a pre-render script modifies any of these values, an error will be returned and the render will fail.

#### Element-wide disabling of HTML processing

Quarto 1.5 provides [additional control](/docs/prerelease/1.5/lua-table-processing.qmd) for its table processing.
- [Element-wide disabling of HTML processing](/docs/prerelease/1.5/lua-table-processing.qmd)---Additional control for table processing.
11 changes: 11 additions & 0 deletions docs/prerelease/1.5/pre-render.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Project Pre Render Scripts"
---

{{< include _pre-release-feature.qmd >}}

Previously, project metadata and the project render list were loaded prior to executing any pre-render scripts for a project. This prevented these pre-render scripts from modifying any project metadata or adding to the render list (for example by generating `qmd` files or `ipynb` files that should be rendered).

Starting in Quarto 1.5, the project metadata and render list will be re-computed after any pre-render scripts have executed, allowing them to modify this project data.

Note that pre-render scripts cannot modify the project directory, the output directory, or the project type. If a pre-render script modifies any of these values, an error will be returned and the render will fail.

0 comments on commit 0b0ade5

Please sign in to comment.