Releases: ContextLab/cdl-slides
Releases · ContextLab/cdl-slides
v1.2.0
What's New in v1.2.0
Added
- Auto-numbered captions: Poster compiler automatically prepends bold "Figure X." and "Table X." labels to caption elements
- Hardcoded color palettes: viridis, plasma, inferno, magma, cividis palettes work in CI environments without matplotlib installed
Fixed
- Viridis palette lookup for matplotlib 3.9+ (use dict access instead of deprecated
.get()) - CI cross-platform failures across macOS, Linux, and Windows
- Caption label isolation: flex layout no longer forces "Figure X." onto its own line when caption is the last child of a poster section
Changed
- Poster layout refinements: chart-row layout, vertical centering, Figure 2 clipping fix
- Extended Figure 2 caption to multi-line with descriptive text
- Trimmed Limitations box to prevent text overflow
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's changed
- Fix README image links for PyPI (use absolute GitHub raw URLs)
- Add PyPI version, CI status, and download count badges to README
v1.1.0
CDL Slides v1.1.0
New: Academic Poster Extension
Create professional academic posters with ASCII grid layouts, per-section color theming, and automatic alignment.
Poster features
- ASCII grid layout: Define poster structure with a simple character grid — each letter maps to a section, and its area determines position and size
- Per-section color theming: Set colors per section via
[color]syntax (blue, green, violet, orange, teal, spring, red) with individual box overrides - Automatic box alignment: Sections sharing grid rows get pixel-perfect top/bottom alignment with vertically centered content
- Titleless boxes: Use
data-title=""for boxes that don't need a title header - KaTeX math with Avenir font: Math equations automatically use Avenir to match poster typography
- Callout boxes: All six box types (note, tip, warning, definition, example, important) work inside poster sections
- Emoji figures: Rounded-rectangle backgrounds with optional no-background variants
- Temp file cleanup: Theme directories cleaned up automatically after compilation
- HTML and PDF output:
cdl-slides poster compile poster.md --format html
Other changes
- pyyaml added as a core dependency (required for poster front matter parsing)
- Additional scale utility classes:
scale-45,scale-40 - Updated README with poster authoring guide, CLI reference, and gallery screenshot
Installation
pip install cdl-slides
cdl-slides setupQuick start (poster)
cdl-slides poster compile my_poster.md --format htmlSee the poster authoring guide and examples/sample_poster.md for full documentation.
v1.0.0
CDL Slides v1.0.0
A Python CLI tool that compiles Markdown into CDL-themed Marp presentations.
Highlights
- Batteries included: Animation support (Manim, FFmpeg) included by default
- Animate DSL: Declarative syntax for creating Manim animations without writing Python
- Flow diagrams: Simple
```flowsyntax with Dartmouth brand colors - Smart preprocessing: Auto-splits long code blocks and tables across slides
- Cross-platform: Works on macOS, Windows, and Linux
- Bundled theme: Complete CDL/Dartmouth-branded theme with custom fonts
Installation
macOS:
brew install pango cairo ffmpeg
pip install cdl-slides
cdl-slides setupLinux (Debian/Ubuntu):
sudo apt-get install -y libpango1.0-dev libcairo2-dev ffmpeg
pip install cdl-slides
cdl-slides setupWindows:
pip install cdl-slides
cdl-slides setupQuick Start
cdl-slides init my-presentation
cdl-slides compile my-presentation/slides.mdSee the README for full documentation.
