cours/quarto yaml options.md
Oscar Plaisant 602a41e7f8 update
2024-12-25 22:30:24 +01:00

1.0 KiB

up:: quarto blog #s/informatique #s/blog

[!info] Set the title and other usefull data

title: "The title"
author: "Oscar Plaisant"
description: "short description of the file"
date: 1999-01-01

[!info] Style

# table of contents
toc: true
# automatic sections numbering
number-sections: true
# margins
geometry:
    - top=30mm
    - left=30mm

[!info] Set the output format

format: pdf

[!info]- format-specific settings

format:
    html:
        # fold the code and show only the result by default
        code-fold: true
        # table of contents
        toc: true
        # numbering of titles
        number-sections: true
  • [i] You can have multiple formats at the same time. Specifying default (for example docx: default) will make it the default


[!info]- Using jupyter

  • [!] you have to tell quarto what jupyter kernel to use
# choose the jupyter kernel
jupyter: python3