R-CMD-check / R CMD check (push) Successful in 3m52s
Integrate Civilytics Reveal.js slide extension, HTML/PDF/Typst document themes, and _brand.yml into the package under inst/quarto/. Three new helper functions (use_civilytics_revealjs, use_civilytics_theme, use_civilytics_brand) copy assets into a user's Quarto project. Logos are stored once in inst/img/ and distributed at install time.
57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
title: Civilytics Reveal
|
|
author: Civilytics Consulting
|
|
version: 1.0.0
|
|
quarto-required: ">=1.4.0"
|
|
contributes:
|
|
formats:
|
|
revealjs:
|
|
# ---- Theme ----
|
|
theme: [default, civilytics.scss]
|
|
|
|
# ---- Slide geometry ----
|
|
width: 1280
|
|
height: 720
|
|
margin: 0
|
|
min-scale: 0.2
|
|
max-scale: 2.0
|
|
center: false
|
|
|
|
# ---- Navigation / chrome ----
|
|
controls: true
|
|
controls-layout: edges
|
|
progress: true
|
|
slide-number: "c/t"
|
|
hash-type: number
|
|
history: true
|
|
navigation-mode: linear
|
|
transition: fade
|
|
transition-speed: fast
|
|
background-transition: fade
|
|
|
|
# ---- Code ----
|
|
highlight-style: github
|
|
code-line-numbers: true
|
|
code-copy: true
|
|
code-overflow: wrap
|
|
|
|
# ---- Math ----
|
|
html-math-method: mathjax
|
|
|
|
# ---- Tables ----
|
|
tbl-cap-location: top
|
|
|
|
# ---- Links / fragments ----
|
|
link-external-newwindow: true
|
|
incremental: false
|
|
|
|
# ---- Brand chrome (injected by civilytics.js) ----
|
|
include-in-header:
|
|
- file: civilytics-head.html
|
|
include-after-body:
|
|
- file: civilytics-after.html
|
|
|
|
# ---- Footer / logo ----
|
|
# Override in the document front-matter if desired:
|
|
# footer: "Civilytics Consulting · 2026"
|
|
# logo: _extensions/civilytics-reveal/assets/civilytics-mark.svg
|