Packages

A pure Elixir library for structured document representation with rich text support

Current section

Files

Jump to
quillon CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## v0.2.0
### New Features
- **Layout properties** - Optional Tailwind-inspired layout tokens on all block nodes: `align`, `width`, `spacing`, `indent`, `valign`
- **Styling properties** - Optional styling tokens: `font_size`, `font_weight`, `line_height`, `color`, `background`, `border`, `border_color`, `border_style`, `opacity`, `shadow`, `rounded`
- **Row node** - New `:row` flex container node with `justify`, `items`, `wrap`, `gap` attrs
- **Grid node** - New `:grid` container node with `columns`, `gap` attrs
- All properties use constrained value sets (atoms), not arbitrary CSS values
- Full JSON round-trip support for layout/style attrs
- Factory functions accept layout/style options via keyword lists
### Backward Compatibility
- All layout/style properties are optional - existing code is fully compatible
- No breaking changes to existing API
## v0.1.0
- Initial release
- Document AST with tuple-based nodes `{type, attrs, children}`
- Node types: document, paragraph, heading, divider, blockquote, callout, code_block, image, video, bullet_list, ordered_list, table
- Marks system: bold, italic, underline, strike, code, subscript, superscript, link, highlight, font_color, mention
- Formatting commands with character-range operations
- Path-based tree traversal and manipulation
- Schema validation with content expressions
- JSON serialization/deserialization