Skip to content

feat: add Library for managing and querying parsed Markdown documents#46

Merged
tsunaminoai merged 1 commit into
mainfrom
41-add-a-library-ast-node
Mar 19, 2026
Merged

feat: add Library for managing and querying parsed Markdown documents#46
tsunaminoai merged 1 commit into
mainfrom
41-add-a-library-ast-node

Conversation

@sc2ben
Copy link
Copy Markdown
Contributor

@sc2ben sc2ben commented Mar 19, 2026

  • Introduced Library struct to hold a collection of parsed Markdown documents with their frontmatter.
  • Implemented methods for adding documents from memory, files, and directories.
  • Added query functionality with support for frontmatter filters and block type selection.
  • Included sorting capabilities for query results based on frontmatter fields.
  • Enhanced documentation in README.md to cover new Library features and query syntax.
  • Added comprehensive tests for Library functionality, including edge cases and regression tests.

Resolves #41

- Introduced `Library` struct to hold a collection of parsed Markdown documents with their frontmatter.
- Implemented methods for adding documents from memory, files, and directories.
- Added query functionality with support for frontmatter filters and block type selection.
- Included sorting capabilities for query results based on frontmatter fields.
- Enhanced documentation in README.md to cover new Library features and query syntax.
- Added comprehensive tests for Library functionality, including edge cases and regression tests.
@sc2ben sc2ben linked an issue Mar 19, 2026 that may be closed by this pull request
@tsunaminoai tsunaminoai added this to the V1.0.0 milestone Mar 19, 2026
@tsunaminoai tsunaminoai merged commit a561260 into main Mar 19, 2026
2 checks passed
@tsunaminoai tsunaminoai deleted the 41-add-a-library-ast-node branch March 19, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Library AST node

2 participants