Outline2Page is a Figma plugin for turning content outlines into page structures.
It parses Markdown hierarchy, matches PAGE_TEMP templates, clones frames, injects content, updates navigation state, and returns a generation report.
- Markdown-driven generation for
COVER / TOC / CHAPTER / TITLE / STEP. - Template scanning from the current Figma page.
- Property mapping for chapter, title, step, page number, TOC, show, highlight, and type.
- TOC row expansion when template capacity is insufficient.
- Automatic overwrite of the previous generated Section.
- Testable core logic split from Figma-specific adapters.
- Paste a Markdown outline.
- Scan the current page for
PAGE_TEMPtemplates. - Review parsed structure and warnings.
- Map templates and component properties.
- Generate the pages.
- Review the output Section and report.
<Title>
# TOC
## Chapter 1
### Key issue
##### Current statePAGE_TEMP:COVER
PAGE_TEMP:TOC
PAGE_TEMP:CHAPTER
PAGE_TEMP:TITLE
PAGE_TEMP:STEP
Chinese colon is supported too:
PAGE_TEMP:COVER
src/
core/ parsing, planning, layout, naming, reporting
figma/ Figma API adapters
ui.html plugin UI
tests/ unit, integration, and adapter tests
docs/ overview diagram
npm install
npm run build
npm test
npm run typecheck
npm run lint完整中文说明见 README.zh-CN.md。
UNLICENSED