mirror of
https://github.com/sbuffkin/hexmaker.git
synced 2026-07-22 06:14:01 +00:00
Adds a unified export pipeline under src/export/ with exporters for single notes,
structured hexes, maps (with reference table), random tables, and workflows
(with rolled samples). PDF rendering reuses Obsidian's MarkdownRenderer + theme
CSS; map PNG/PDF goes through a dedicated canvas renderer.
UI surface:
- "Export" tab in MapModal (PNG/PDF with overlay + size options)
- "Export" link in HexEditorModal + HexExportModal
- "Export PDF/Markdown" links in RandomTableView header
- "Export…" button in WorkflowEditorModal + WorkflowExportModal
- Commands: export current note (PDF/MD), current hex, current workflow
- File-menu items on any .md file: Export to PDF / Markdown
Other:
- New `exportFolder` setting (defaults to {worldFolder}/exports)
- hexGeometry: add hexSize / hexCenter / hexPolygonPoints / gridBoundingBox
- HexTableView + HexEditorModal: first-wins on duplicate palette names
(matches HexMapView's .find() behaviour)
- Tests: unit + integration suites for all exporters; sim-vault fixture
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.1 KiB
1.1 KiB
| terrain | icon |
|---|---|
| forest | bw-forest.png |
Description
The trees lean north against an old wind. A scoured standing stone juts from the moss near the centre of the hex, half-toppled. A footpath crosses east-to-west, faint and overgrown.
Landmark
Pale stone, lichen-mottled, taller than two riders. Runes visible at its base when the moss is brushed aside.
Weather
Misty mornings; warm afternoons. Light rain after midday in autumn.
Hooks & Rumors
- The standing stone hums at midwinter, locals say.
- A masked rider was seen heading north along the path two evenings ago.
Hidden
A weathered cache beneath the standing stone holds three gold ingots and a wax-sealed letter addressed to "the wanderer of nine moons".
Secret
The standing stone is one of seven; together they bind a sleeping power beneath the hidden tomb.