diff --git a/posts/09-self-contained/index.qmd b/posts/09-self-contained/index.qmd index b27271f..3b13b8d 100644 --- a/posts/09-self-contained/index.qmd +++ b/posts/09-self-contained/index.qmd @@ -1,9 +1,9 @@ -be--- -title: "Self-contained HTML" -date: "2022-07-06" -categories: [html] -image: "featured.png" -image-alt: "YAML with format html and option embed-resources set to true." +--- +title: "Self-contained HTML" +date: "2022-07-06" +categories: html +image: "featured.png" +image-alt: "YAML with format html and option embed-resources set to true." --- ## `embed-resources: true` @@ -20,13 +20,13 @@ This produces a standalone HTML with no external dependencies. - This works with `.qmd` and `.ipynb` files. - If instead of publishing the document, you want to share it using a file-sharing service (e.g., Dropbox) or email it to someone just like you share other document types like spreadsheets, presentations, and PDFs, you should use this option to generate a self-contained HTML. -- Quarto presentations created with revealjs can also be published as self-contained HTML. -Math libraries are not embedded in self-contained HTML documents by default (because they are quite large and often time-consuming to download), but you can add `self-contained-math: true` to your YAML to embed them as well. +- Quarto presentations created with revealjs can also be published as self-contained HTML. Math libraries are not embedded in self-contained HTML documents by default (because they are quite large and often time-consuming to download), but you can add `self-contained-math: true` to your YAML to embed them as well. ## Learn more [Self-contained HTML](https://quarto.org/docs/output-formats/html-basics.html#self-contained) ::: callout-note -An earlier version of this post referred to `self-contained`. That YAML field has been deprecated and `embed-resources` should be used. +An earlier version of this post referred to `self-contained`. +That YAML field has been deprecated and `embed-resources` should be used. :::