Blog

AnyMD Blog

Engineering, guides, and benchmarks on document-to-markdown conversion, RAG pipelines, and building fast APIs in Rust.












Guides 26 Aug 2026 · 8 min read

Semantic chunking from Markdown for RAG

Markdown preserves document structure — headings, lists, tables — which makes it the ideal input for semantic chunking strategies. Compare heading-based, token-based, and recursive chunking on AnyMD output.

Read more →


Guides 28 Aug 2026 · 7 min read

Token-aware chunking for LLM context windows

Split Markdown documents into chunks that fit exactly inside your model's context window — with overlap, heading boundaries, and metadata injection. Works with OpenAI, Claude, and Llama tokenizers.

Read more →

Guides 31 Aug 2026 · 8 min read

Heading-based hierarchical chunking

Use Markdown heading structure (#, ##, ###) to create a hierarchy of chunks — parent sections contain their children. The best chunking strategy for document Q&A and summarization.

Read more →






Tutorials 11 Sep 2026 · 7 min read

Java document conversion to Markdown

Convert documents to clean Markdown from Java using AnyMD's REST API, Apache HttpClient, and concurrency best practices — with async batch processing, retry with backoff, and connection pooling.

Read more →

Tutorials 14 Sep 2026 · 7 min read

PHP document conversion to Markdown

Integrate AnyMD document conversion into PHP projects with cURL, error handling, and batch processing — with WordPress and Laravel integration patterns.

Read more →