The overall appearance and behavior of the document is specified in the YAML:
HTML default YAML
---
title: "Untitled"
format: html
editor: visual
---
PDF default YAML
---
title: "Untitled"
format: pdf
editor: visual
---
---
title: "My quarto file"
author: "Jane Doe"
date: today
format:
html:
self-contained: true
toc: true
toc-title: My contents
toc-location: left
editor: source
lang: it
---
self-contained: true
is of the uttermost importance!!!
(Further details on the YAML later on)
Markdown syntax: Font
Output
italics, bold, bold italics
Markdown syntax: Scripts
Output
textsuperscirpt2, textunderscript2
My link is here
This is an image
In-line math:
This is an in-line equation \(y = \beta_0 + \beta_1 X + \varepsilon\)
Navigate to your GitHub repository online:
(take some time, be patient)
README.md
This file handles the generation of the website
It works with basic markdown syntax
They create the index to the pages we want to display in our website
Warning
The links must link to the directory of the html file in the subfolder of the project!
commit
+ push
Don’t forget to push!
Inside your R project for this school:
Create a new HMTL quarto document that must contain:
Render the document in HTML
Create the link to your newly created document in the README.md
Commit & push the .qmd
and .html
of your newly created document
Commit & push the .md
and .html
of the README
file
By default, the HTML document is set to take all the space in the page
The page layout is based on a 12-unit (or 12-column) grid system, which can be used to divide the space accordingly:
(Best for HTML pages)
(Best for HMTL presentation)
You can place anything in the margins of the documents!
From the previous document:
Baby steps