Updated AST Rendering Documentation with Citation Support
Summary
Enhanced the AST rendering documentation to include comprehensive coverage of citation handling, reflecting our recent improvements to the markdown processing pipeline.
Changes Made
- Updated
content/lost-in-public/prompts/render-logic/Rendering-Extended-Markdown-through-AST.md
:- Added citation syntax and structure documentation
- Included complete citation plugin implementation details
- Documented component rendering approach
- Updated architectural principles to cover both citations and callouts
- Added
content/lost-in-public/prompts/render-logic/Handle-Citations-Logic-and-Render-Citations-Component.md
:- Comprehensive documentation of the citation handling system
- Detailed implementation flow from markdown parsing to rendering
- Example usage patterns and troubleshooting guidance
- Component-specific implementation details
Technical Details
- Added citation node type definitions and structure
- Documented MDAST to HAST transformation process
- Included error handling and debugging strategies
- Provided complete code examples for:
- Citation plugin implementation
- Component rendering
- AST transformation pipeline
Integration Points
- Aligns with existing AST transformation principles
- Follows established plugin architecture
- Maintains consistent documentation structure
- References official Astro and Remark documentation
Documentation
- Added citation syntax examples
- Included complete plugin implementation
- Documented component integration
- Updated key principles for AST handling
List of Affected Files
content/lost-in-public/prompts/render-logic/Rendering-Extended-Markdown-through-AST.md
content/lost-in-public/prompts/render-logic/Handle-Citations-Logic-and-Render-Citations-Component.md
content/vocabulary/Agile.md