Skip to content

Conversation

coderberry
Copy link
Contributor

  • New markdown_to_blockdoc converter for transforming Markdown documents to BlockDoc format
  • Comprehensive parser that handles all core Markdown elements:
    • Headings (ATX and Setext styles)
    • Paragraphs with proper line break handling
    • Lists (ordered and unordered)
    • Code blocks with language detection
    • Block quotes with attribution
    • Images with captions
    • Horizontal rules
  • Semantic ID generation based on content
  • Example implementation in examples/markdown_conversion_example.py
  • Test suite for the converter functionality

coderberry and others added 9 commits April 25, 2025 16:07
This commit adds the ability to convert Markdown documents to BlockDoc format. It includes:

- A new conversions module with markdown_to_blockdoc function
- Updated package exports to expose the new functionality
- Comprehensive test coverage for the new converter
- Example usage demonstrating the conversion process
- Support for all core Markdown elements (headings, lists, code blocks, etc.)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
This adds a Claude slash command for easily adding new entries to the
CHANGELOG.md file following the Keep a Changelog format.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
This commit introduces an example demonstrating the conversion of Markdown content to the BlockDoc format. The commit includes HTML, JSON, and Markdown outputs to showcase the structured representation and roundtrip functionality while preserving document semantics and formatting.
This ensures code quality and consistent formatting across the project. Including these tools helps maintain readability and adherence to coding standards.
Introduce a `.flake8` configuration file to enforce style guidelines, including a max line length of 88 characters and specific ignore rules. Updated codebase to comply with line length constraints by reformatting excessively long lines for better readability and consistency.
- Remove flake8 dependency and configuration
- Update GitHub Actions workflow to use only ruff
- Update lint and format scripts to be more explicit about target directories
- Add E203 to ruff ignore list for consistency with previous flake8 config

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Introduced `.repomixignore` to define custom ignore patterns and `repomix.config.json` file for configuration of Repomix behavior. Updated `repomix-output.xml` with processed representation details, including compression and comments removal.
Simplified multi-line expressions into single-line statements where possible for better clarity. Updated Python and Ruff configurations, including version bump to Python 3.12 and line-length adjustment to 120. Removed support for Python 3.7 and cleaned up unused imports and redundant comments.
@coderberry coderberry merged commit 56a22d0 into main Apr 25, 2025
3 of 4 checks passed
@coderberry coderberry deleted the feature/markdown-to-blockdoc branch April 25, 2025 23:48
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.

1 participant