---
title: "Discussion on \"I Tried Six Ways to Get Heading Levels Out of a PDF. Docling Already Had One.\" | Hashnode"
description: "Discussion on \"I Tried Six Ways to Get Heading Levels Out of a PDF. Docling Already Had One.\". Docling gives every PDF heading level 1 by default. A post-processor, regex, font sizes, the VLM pipeline and HeadingHierarchyOptions compared on 11 PDFs."
url: "https://hashnode.com/posts/i-tried-six-ways-to-get-heading-levels-out-of-a-pdf-docling-already-had-one/6a9f7bc386a7f58437ab6f88"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I Tried Six Ways to Get Heading Levels Out of a PDF. Docling Already Had One.](https://lijibuilds.hashnode.dev/i-tried-six-ways-to-get-heading-levels-out-of-a-pdf-docling-already-had-one?utm_source=hashnode&utm_medium=feed)

Docling gives every PDF heading level 1 by default. A post-processor, regex, font sizes, the VLM pipeline and HeadingHierarchyOptions compared on 11 PDFs.

Sep 8 · 14 min read · lijibuilds.hashnode.dev  
Read the article

-   [#docling](https://hashnode.com/tag/docling)
-   [#rag](https://hashnode.com/tag/rag)
-   [#pdf](https://hashnode.com/tag/pdf)
-   [#chunking](https://hashnode.com/tag/chunking)
-   [#document-parsing](https://hashnode.com/tag/document-parsing)

## Written by

[Liji Alex](https://hashnode.com/@lijia)

@lijia · Hyderabad, India

  
[View profile](https://hashnode.com/@lijia)

Engineering AI Systems

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
