This is a demonstration of converting Markdown content to BlockDoc format.
BlockDoc makes it easy to work with structured content:
Here's an example of Python code:
from blockdoc import markdown_to_blockdoc
# Convert markdown to BlockDoc
doc = markdown_to_blockdoc(markdown_text)
# Export as JSON
json_str = doc.to_json()
print(json_str)
Images are properly converted:
BlockDoc handles various content types:
Attribution SourceThis is a block quote that will be properly converted to a BlockDoc quote block, preserving its formatting and presentation.
This example shows how Markdown can be seamlessly converted to BlockDoc format, preserving the document structure while enabling all the benefits of block-based content.