Skip to content

v0.9.0 - Initial Release

Choose a tag to compare

@foo-ogawa foo-ogawa released this 05 Jan 08:04
· 80 commits to main since this release

馃帀 Initial Release - embedoc

Features

  • In-place document generation: Auto-update marker blocks while preserving manual edits
  • Multiple comment styles: HTML, block, line, hash, SQL comments supported
  • Datasources: SQLite, CSV, JSON, YAML, glob file patterns
  • Programmable embeds: TypeScript/JavaScript functions with defineEmbed API
  • Inline datasources: Define data directly in documents with @embedoc-data markers
  • Dot-path access: Navigate nested data structures (e.g., project.author.name)
  • Code fence support: Write inline data in fenced code blocks for syntax highlighting
  • File generation: Generate multiple files from datasource records using Handlebars templates
  • Watch mode: Monitor file changes with incremental rebuilds
  • Dependency tracking: Smart rebuilds based on document-embed-datasource relationships
  • Frontmatter support: YAML metadata accessible by embeds
  • Markdown helpers: Built-in functions for tables, lists, code blocks, links, etc.

CLI Commands

  • embedoc build - Process all target files
  • embedoc watch - Watch mode with live reload
  • embedoc generate - Generate files from datasources
  • embedoc deps - Analyze dependency graph

Requirements

  • Node.js >= 18.0.0