### Setup Shiny Server and Load Data in Quarto Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/dashboards/interactivity/shiny-python/_shiny-advanced.md Configure Quarto to use Shiny Server and load the dataset. The `context: setup` option ensures this code runs once when the application starts. ```python --- title: "Palmer Penguins" author: "Cobblepot Analytics" format: dashboard server: shiny # <1> --- ```{{python}} # <2> #| context: setup import seaborn as sns from shiny import reactive from shiny.express import render, ui penguins = sns.load_dataset("penguins") ``` # <2> ``` -------------------------------- ### Install Dependencies Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/computations/_text-editor.md Commands to install required Python packages for the tutorial. ```bash python3 -m pip install jupyter matplotlib plotly pandas ``` ```powershell py -m pip install jupyter matplotlib plotly pandas ``` -------------------------------- ### Install Extension from URL Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_add.md Install an extension by providing a URL. The URL should point to a valid extension package. ```bash quarto add ``` -------------------------------- ### Install Global Dependencies with Quarto Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_install.md General syntax for installing dependencies via the command line. ```bash quarto install [target...] ``` -------------------------------- ### Install Extension from File Path Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_add.md Install an extension by providing a local file path. This is useful for extensions packaged as archives. ```bash quarto add ``` -------------------------------- ### Publishing Examples Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_publish.md Various ways to invoke the publish command for different providers and configurations. ```bash quarto publish ``` ```bash quarto publish document.qmd ``` ```bash quarto publish huggingface ``` ```bash quarto publish netlify ``` ```bash quarto publish netlify --id DA36416-F950-4647-815C-01A24233E294 ``` ```bash quarto publish gh-pages ``` ```bash quarto publish connect ``` ```bash quarto publish connect --server example.com --token 01A24233E294 ``` ```bash quarto publish posit-connect-cloud ``` ```bash quarto publish --no-prompt ``` ```bash quarto publish --no-render ``` ```bash quarto publish --no-browser ``` ```bash quarto publish accounts ``` -------------------------------- ### Update Tool Examples Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_update.md Examples of how to update specific Quarto tools. ```APIDOC ## Examples: Update Tool ### Update TinyTeX ```bash quarto update tool tinytex ``` ### Update Chrome Headless Shell ```bash quarto update tool chrome-headless-shell ``` ### Update Chromium (legacy) ```bash quarto update tool chromium ``` ### Choose tool to update ```bash quarto update tool ``` ``` -------------------------------- ### Preview Document Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/computations/_text-editor.md Command to start a live preview of the Quarto document. ```bash quarto preview computations.qmd ``` -------------------------------- ### Typst Examples Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_typst.md Examples demonstrating common uses of the 'quarto typst' command. ```APIDOC ## Examples ### Compile Typst to PDF ```bash quarto typst compile document.typ ``` ### List all discovered fonts ```bash quarto typst fonts ``` ``` -------------------------------- ### Start the Quarto development server Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/website-basics.md Launch the live-reloading development server to preview changes during site development. ```bash $ quarto serve ``` -------------------------------- ### Serve Quarto Book Locally Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/book-basics.md Builds the HTML version of your book and starts a local web server for live preview during development. ```bash $ quarto serve mybook ``` -------------------------------- ### List installed extensions Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_list.md Command to display all currently installed Quarto extensions. ```bash quarto list extensions ``` -------------------------------- ### Serve an interactive Shiny document Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_serve.md Starts the server for the specified dashboard file. ```bash quarto serve dashboard.qmd ``` -------------------------------- ### Interactive Tool Selection Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_install.md Run the install command without arguments to trigger an interactive selection menu. ```bash quarto install ``` -------------------------------- ### Serve a Shiny interactive document Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_serve.md Basic command to start the server for a specified Quarto document. ```bash quarto serve [input:string] ``` -------------------------------- ### Example _publish.yml Configuration Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/publishing/_github-action-basics.md This YAML file records the publishing destination for your Quarto project. Ensure the `id` and `url` values are correct for your site. ```yaml - source: project {{< meta provider.id >}}: - id: "5f3abafe-68f9-4c1d-835b-9d668b892001" url: "{{< meta provider.publish-url >}}" ``` -------------------------------- ### Update Extension Examples Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_update.md Examples of how to update Quarto extensions from various sources. ```APIDOC ## Examples: Update Extension ### Update extension (Github) ```bash quarto update extension / ``` ### Update extension (file) ```bash quarto update extension ``` ### Update extension (url) ```bash quarto update extension ``` ``` -------------------------------- ### Install PNG Compression Tools Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/SETUP.md Install oxipng to compress screenshots locally, keeping PR images smaller during review. ```bash # Windows scoop install oxipng # macOS brew install oxipng # Cargo cargo install oxipng ``` -------------------------------- ### Install Specific Tools Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_install.md Commands to install specific global dependencies required by Quarto. ```bash quarto install tinytex ``` ```bash quarto install chrome-headless-shell ``` ```bash quarto install chromium ``` -------------------------------- ### CLI Command: quarto install Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_install.md Installs a global dependency like TinyTeX, Chromium, or Chrome Headless Shell. ```APIDOC ## CLI COMMAND: quarto install ### Description Installs a global dependency (TinyTeX, Chromium, Chrome Headless Shell, VeraPDF). ### Usage `quarto install [target...]` ### Options - **-h, --help** - Show this help. - **--no-prompt** - Do not prompt to confirm actions. - **--update-path** - Update system path when a tool is installed. - **--log** (file) - Path to log file. - **--log-level** (level) - Log level (debug, info, warning, error, critical). - **--log-format** (format) - Log format (plain, json-stream). - **--quiet** - Suppress console output. - **--profile** - Active project profile(s). ### Examples - Install TinyTeX: `quarto install tinytex` - Install Chrome Headless Shell: `quarto install chrome-headless-shell` - Install Chromium: `quarto install chromium` ``` -------------------------------- ### Install Extension from GitHub Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_add.md Install an extension directly from a GitHub repository. Ensure the repository is formatted as /. ```bash quarto add / ``` -------------------------------- ### Install Python Dependencies with uv Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/README.md Install the necessary Python dependencies for the project using the `uv` package manager. Ensure `uv` is installed before running this command. ```bash $ uv sync ``` -------------------------------- ### Render and Run Shiny Documents Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/dashboards/interactivity/shiny-python/_shiny-deployment.md Use these commands to generate the application files and start the Shiny server. ```bash quarto render example.qmd shiny run app.py ``` -------------------------------- ### Start the Quarto development server via R Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/website-basics.md Launch the development server using the quarto package in R. ```r library(quarto) quarto_serve() ``` -------------------------------- ### Configure Project for Binder Support Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_use-binder.md Use this command to add Binder support to your current Quarto project. No additional arguments are required for basic setup. ```bash quarto use binder ``` -------------------------------- ### Render All Formats and Preview Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_preview.md This command renders all defined website or book formats (e.g., HTML, PDF) and then previews them. Ensure all necessary rendering dependencies are installed. ```bash quarto preview --render all ``` -------------------------------- ### Update extensions and tools Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_update.md Examples for updating specific extensions or global tools via the terminal. ```bash quarto update extension / ``` ```bash quarto update extension ``` ```bash quarto update extension ``` ```bash quarto update tool tinytex ``` ```bash quarto update tool chrome-headless-shell ``` ```bash quarto update tool chromium ``` ```bash quarto update tool ``` -------------------------------- ### List global tools Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_list.md Command to display all globally installed tools. ```bash quarto list tools ``` -------------------------------- ### CLI Command: quarto add Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_add.md Installs an extension into the current Quarto project or folder. ```APIDOC ## CLI COMMAND: quarto add ### Description Adds an extension to the current folder or project. Extensions can be sourced from GitHub, local zip files, or remote URLs. ### Usage `quarto add ` ### Parameters #### Arguments - **extension** (string) - Required - The identifier for the extension (e.g., GitHub repo, path to zip, or URL). #### Options - **-h, --help** - Show help. - **--no-prompt** - Do not prompt to confirm actions. - **--embed** (extensionId) - Embed this extension within another extension. - **--log** (file) - Path to log file. - **--log-level** (level) - Log level (debug, info, warning, error, critical). - **--log-format** (format) - Log format (plain, json-stream). - **--quiet** - Suppress console output. - **--profile** - Active project profile(s). ### Examples - **Install from GitHub:** `quarto add /` - **Install from file:** `quarto add ` - **Install from URL:** `quarto add ` ``` -------------------------------- ### Serve a document without rendering Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_serve.md Starts the server for the specified file while skipping the initial render step. ```bash quarto serve dashboard.qmd --no-render ``` -------------------------------- ### Verify all components Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_check.md Performs a comprehensive check of the installation and all supported engines. ```bash quarto check all ``` -------------------------------- ### Verify Quarto Installation Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/index.md Use this command to confirm that the Quarto CLI is correctly installed on your system. ```bash $ quarto check ``` -------------------------------- ### Install TinyTeX via Quarto CLI Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/authoring/_install-tinytex.md Run this command in your terminal to install the TinyTeX distribution required for PDF rendering. ```bash quarto install tinytex ``` -------------------------------- ### Setup Speaker Notes UI Source: https://github.com/quarto-dev/quarto-web/blob/main/_freeze/site_libs/revealjs/plugin/notes/speaker-view.html Selects DOM elements for displaying speaker notes and their values. ```javascript function setupNotes() { notes = document.querySelector( '.speaker-controls-notes' ); notesValue = document.querySelector( '.speaker-controls-notes .value' ); } ``` -------------------------------- ### Install Python Packages Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/computations/_positron/setup.md Installs the 'jupyter' and 'plotnine' packages for Python computations in Quarto. Use 'pip' or your preferred package manager. ```bash pip install jupyter plotnine ``` -------------------------------- ### Run Quarto check command Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_check.md Basic syntax for verifying Quarto installation or specific engine components. ```bash quarto check [target:string] ``` -------------------------------- ### Setup Presentation Slides with Iframes Source: https://github.com/quarto-dev/quarto-web/blob/main/_freeze/site_libs/revealjs/plugin/notes/speaker-view.html Initializes and appends 'current-slide' and 'upcoming-slide' iframes. Configure parameters like receiver, progress, history, transitions, and auto-slide behavior. ```javascript var params = [ 'receiver', 'progress=false', 'history=false', 'transition=none', 'autoSlide=0', 'backgroundTransition=none' ].join( '&' ); var urlSeparator = /\?/.test(data.url) ? '&' : '?'; var hash = '#/' + data.state.indexh + '/' + data.state.indexv; var currentURL = data.url + urlSeparator + params + '&scrollActivationWidth=false&postMessageEvents=true' + hash; var upcomingURL = data.url + urlSeparator + params + '&scrollActivationWidth=false&controls=false' + hash; currentSlide = document.createElement( 'iframe' ); currentSlide.setAttribute( 'width', 1280 ); currentSlide.setAttribute( 'height', 1024 ); currentSlide.setAttribute( 'src', currentURL ); document.querySelector( '#current-slide' ).appendChild( currentSlide ); upcomingSlide = document.createElement( 'iframe' ); upcomingSlide.setAttribute( 'width', 640 ); upcomingSlide.setAttribute( 'height', 512 ); upcomingSlide.setAttribute( 'src', upcomingURL ); document.querySelector( '#upcoming-slide' ).appendChild( upcomingSlide ); ``` -------------------------------- ### Example: Set Blog Post Date Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/README.md Shows how to use the `publish-date.ts` script to set a blog post's date to today and rename its directory accordingly. Requires the path to the blog post. ```bash quarto run _tools/publish-date.ts docs/blog/posts/2026-04-10-my-post ``` -------------------------------- ### Initialize Reveal.js with Chalkboard Plugin Configuration Source: https://github.com/quarto-dev/quarto-web/blob/main/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/README.md Configure the Reveal.js Chalkboard plugin by passing an options object to Reveal.initialize. This example shows various settings for appearance and behavior. ```javascript Reveal.initialize({ // ... chalkboard: { boardmarkerWidth: 3, chalkWidth: 7, chalkEffect: 1.0, storage: null, src: null, readOnly: undefined, transition: 800, theme: "chalkboard", background: [ 'rgba(127,127,127,.1)' , path + 'img/blackboard.png' ], grid: { color: 'rgb(50,50,10,0.5)', distance: 80, width: 2}, eraser: { src: path + 'img/sponge.png', radius: 20}, boardmarkers : [ { color: 'rgba(100,100,100,1)', cursor: 'url(' + path + 'img/boardmarker-black.png), auto'}, { color: 'rgba(30,144,255, 1)', cursor: 'url(' + path + 'img/boardmarker-blue.png), auto'}, { color: 'rgba(220,20,60,1)', cursor: 'url(' + path + 'img/boardmarker-red.png), auto'}, { color: 'rgba(50,205,50,1)', cursor: 'url(' + path + 'img/boardmarker-green.png), auto'}, { color: 'rgba(255,140,0,1)', cursor: 'url(' + path + 'img/boardmarker-orange.png), auto'}, { color: 'rgba(150,0,20150,1)', cursor: 'url(' + path + 'img/boardmarker-purple.png), auto'}, { color: 'rgba(255,220,0,1)', cursor: 'url(' + path + 'img/boardmarker-yellow.png), auto'} ], chalks: [ { color: 'rgba(255,255,255,0.5)', cursor: 'url(' + path + 'img/chalk-white.png), auto'}, { color: 'rgba(96, 154, 244, 0.5)', cursor: 'url(' + path + 'img/chalk-blue.png), auto'}, { color: 'rgba(237, 20, 28, 0.5)', cursor: 'url(' + path + 'img/chalk-red.png), auto'}, { color: 'rgba(20, 237, 28, 0.5)', cursor: 'url(' + path + 'img/chalk-green.png), auto'}, { color: 'rgba(220, 133, 41, 0.5)', cursor: 'url(' + path + 'img/chalk-orange.png), auto'}, { color: 'rgba(220,0,220,0.5)', cursor: 'url(' + path + 'img/chalk-purple.png), auto'}, { color: 'rgba(255,220,0,0.5)', cursor: 'url(' + path + 'img/chalk-yellow.png), auto'} ] }, // ... }); ``` -------------------------------- ### Install R Packages Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/computations/_positron/setup.md Installs the 'rmarkdown' and 'tidyverse' packages required for R computations in Quarto. Ensure these packages are installed before proceeding. ```r install.packages("rmarkdown") install.packages("tidyverse") ``` -------------------------------- ### Quarto Book Configuration Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/book-basics.md Example of a Quarto project configuration file (_quarto.yml) defining book structure, title, author, date, chapters, bibliography, and output formats. ```yaml project: type: book book: title: "mybook" author: "Jane Doe" date: "5/11/2021" chapters: - index.md - intro.md - summary.md - references.md bibliography: references.bib format: html: theme: cosmo pdf: documentclass: report epub: epub-cover-image: cover.png ``` -------------------------------- ### Install veraPDF for Quarto Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/output-formats/_pdf-standard.md Installs the veraPDF validator tool for use with Quarto. Ensure Java is installed and available in your system's PATH. ```bash quarto install verapdf ``` -------------------------------- ### Install R Packages for Quarto Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/hello/_positron/setup.md Installs the 'rmarkdown', 'tidyverse', and 'palmerpenguins' packages required for R-based Quarto development. Ensure these packages are installed before proceeding with R tutorials. ```r install.packages("rmarkdown") install.packages("tidyverse") install.packages("palmerpenguins") ``` -------------------------------- ### Example: Capture Typst Document Snapshots Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/README.md Illustrates the usage of the `snapshot-typst.ts` script to capture snapshots of Typst documents as PNG files. Requires the input Typst file and the desired output PNG file path. ```bash quarto run _tools/snapshot-typst.ts source.qmd dest.png ``` -------------------------------- ### Install jupyter-cache on Windows Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/computations/_jupyter-cache.md Use this command to install the jupyter-cache package on Windows systems. ```powershell py -m pip install jupyter-cache ``` -------------------------------- ### Redirect to Tutorial Tool Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/manuscripts/_redirect.html Retrieves the preferred tool from local storage and performs a location replacement. Defaults to jupyterlab.html if the key is missing. ```javascript const toolPage = window.localStorage.getItem("tutorialToolManuscript") || "jupyterlab.html"; window.location.replace(toolPage); ``` -------------------------------- ### Install jupyter-cache on Mac/Linux Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/computations/_jupyter-cache.md Use this command to install the jupyter-cache package on Mac or Linux systems. ```bash python3 -m pip install jupyter-cache ``` -------------------------------- ### Install Jupyter with Conda Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/computations/_jupyter-install.md Use this command to install the 'jupyter' package if you are using the Conda package manager. ```bash conda install jupyter ``` -------------------------------- ### quarto use template Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_use-template.md Initializes a project or directory using a specified Quarto template. ```APIDOC ## COMMAND quarto use template ### Description Use a Quarto template for the current directory or project. ### Usage `quarto use template ` ### Parameters #### Path Parameters - **target** (string) - Required - The template identifier, such as a GitHub repository path (/). #### Options - **--no-prompt** (flag) - Optional - Do not prompt to confirm actions. - **--log** (file) - Optional - Path to log file. - **--log-level** (level) - Optional - Log level (debug, info, warning, error, critical). - **--log-format** (format) - Optional - Log format (plain, json-stream). - **--quiet** (flag) - Optional - Suppress console output. ### Request Example ```bash quarto use template / ``` ``` -------------------------------- ### Install Jupyter with Pip (Mac/Linux) Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/computations/_jupyter-install.md Use this command to install the 'jupyter' package if you are on macOS or Linux using Pip. ```bash python3 -m pip install jupyter ``` -------------------------------- ### Create a New Quarto Book Project Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/screenshots/examples/quarto-demo/book-basics.md Use this command to generate the basic file structure for a new Quarto book project. ```bash $ quarto create-project mybook --type book ``` -------------------------------- ### List dependencies with quarto list Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_list.md Basic syntax for listing dependencies by type. ```bash quarto list ``` -------------------------------- ### Install Jupyter with Pip (Windows) Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/computations/_jupyter-install.md Use this command to install the 'jupyter' package if you are on Windows using Pip and the Python launcher. ```powershell py -m pip install jupyter ``` -------------------------------- ### Preview Quarto site with RC branding Source: https://github.com/quarto-dev/quarto-web/blob/main/README.md Use the `quarto preview` command with the `--profile rc` flag to preview the main site with Release Candidate branding. ```bash quarto preview --profile rc ``` -------------------------------- ### Configure Preview Server Options Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/reference/projects/_options.md Settings to control the port and browser behavior during quarto preview. ```yaml project: type: {{< meta project-type >}} output-dir: {{< meta project-output-dir >}} preview: port: 4200 browser: false ``` -------------------------------- ### Display Quarto Tools Status Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_tools.md This command displays the status of Quarto installed dependencies. It provides information about the current Quarto installation and its associated tools. ```APIDOC ## GET /quarto/tools ### Description Displays the status of Quarto installed dependencies. ### Method GET ### Endpoint /quarto/tools ### Parameters #### Query Parameters - **--help** (boolean) - Optional - Show this help message. ### Request Example ```json { "command": "quarto tools" } ``` ### Response #### Success Response (200) - **status** (string) - The status of Quarto installed dependencies. #### Response Example ```json { "status": "Quarto is installed and up to date." } ``` ``` -------------------------------- ### Preview Quarto site with pre-release branding Source: https://github.com/quarto-dev/quarto-web/blob/main/README.md Run `quarto preview` without any profile arguments to preview the main site with pre-release branding, which is the default when 'prerelease' is first in the group. ```bash quarto preview ``` -------------------------------- ### Apply a brand to a project Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/cli/includes/_use-brand.md Basic command syntax to initialize branding for a target. ```bash quarto use brand ``` -------------------------------- ### Publish to Netlify using _publish.yml Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/publishing/_netlify-ci-example.md Configures the environment and executes the publish command based on project settings. ```bash # credentials from https://app.netlify.com/user/applications export NETLIFY_AUTH_TOKEN="45fd6ae56c" # publish to the netlify site id provided within _publish.yml quarto publish netlify ``` -------------------------------- ### Redirect to Tutorial Based on Local Storage Source: https://github.com/quarto-dev/quarto-web/blob/main/docs/get-started/_redirect.html This JavaScript code checks local storage for a preferred tutorial. If found, it redirects the user to that tutorial; otherwise, it defaults to 'jupyter.html'. This is used for initial user onboarding. ```javascript /* This code exists but is no longer used in the "happy path" for our webpage. If someone lands here it will still work but redirect to the main guide, which itself will no longer use redirection. The issue with redirection is it causes a FOUC */ const toolPage = window.localStorage.getItem("tutorialToolGetStarted") || "jupyter.html"; window.location.replace(toolPage); ``` -------------------------------- ### Run Any Script with Quarto Source: https://github.com/quarto-dev/quarto-web/blob/main/_tools/README.md Demonstrates the general command to execute any script within the `_tools/` directory using `quarto run`. This is the primary method for invoking project utilities. ```bash quarto run _tools/