Content1

本サイトの設定解説

この quarto-pe サイトで実際に使っている _quarto.yml の設定を解説します。

作者

watanabe3tipapa

公開

2026年8月22日

1 My Quarto Project

ノート基本のキ

このウェブサイトで使用しているYAML(初期設定)です


1.0.1 YAML in building this website

project:
  type: website
  output-dir: _docs
  render:
    - "*.qmd"
    - "!drafts/"

website:
  title: "quarto-pe"
  navbar:
    aria-label: Main navigation
    background: dark
    search: true
    left:
      - href: index.qmd
        text: Home
      - text: Contents
        menu:
          - href: content1.html
            text: Content1
          - href: content2.html
            text: Content2
          - href: content3.html
            text: Content3

format:
  html:
    theme: cosmo
    css: styles.css
    toc: true
    code-fold: true
    code-tools: true

execute:
  echo: true
  warning: false
  error: false
  cache: true

freeze: auto

resources:
  - CNAME
  - .nojekyll

editor: visual

code 出力(</>)

PDF出力(このページはサイズ(A4)に対応しています)

以上をお試しください。


YAML に { editor: visual }を追記するといわゆるビジュアル・モードで編集できるようになります。

編集画面

編集画面