project:
  type: website
  pre-render: filters/pre-render.lua
  preview:
    port: 4200

website:
  title: "Panache"
  description: "A language server, code formatter, and linter for Pandoc Markdown, Quarto, and R Markdown."
  site-url: "https://jolars.github.io/panache/"
  repo-url: "https://github.com/jolars/panache"
  repo-actions: [edit, issue]
  search: true

  open-graph:
    title: "Panache - A language server, code formatter, and linter for Pandoc Markdown, Quarto, and R Markdown."
    locale: en_US

  page-footer:
    left: "panache v{{< meta version >}} | Copyright 2026, Johan Larsson"
    right:
      - icon: github
        href: "https://github.com/jolars/panache"
        aria-label: "Source for this webpage"

  navbar:
    left:
      - href: index.qmd
        text: Home
      - href: getting-started.qmd
        text: Getting Started
      - href: configuration.qmd
        text: Configuration
      - href: formatting.qmd
        text: Formatting
      - href: linting.qmd
        text: Linting
      - href: lsp.qmd
        text: LSP
      - href: cli.qmd
        text: CLI
      - href: integrations.qmd
      - href: playground
        text: Playground

resources:
  - "playground/**"

highlight-style: breeze

format:
  html:
    toc: true
    theme: cosmo
    html-math-method: katex
    pagetitle: "{{< meta title >}}"

toc: true
date-format: "D MMMM YYYY"

filters:
  - filters/pre-render.lua
