# .to\_markdown() container flags query

**URL:** <https://forum.mupdf.com/t/to-markdown-container-flags-query/391>\
**Category:** PyMuPDF\
**Created:** [October 20, 2026, 3:28pm UTC](https://forum.mupdf.com/t/to-markdown-container-flags-query/391 "2026-10-20T15:28:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MW\_UK](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@MW\_UK](https://forum.mupdf.com/u/MW_UK)\
**Post date:** [October 20, 2026, 3:28pm UTC](https://forum.mupdf.com/t/to-markdown-container-flags-query/391/1 "2026-10-20T15:28:56Z")

</div>

Hi,

I decided to test some of my old documents whose content and layout caused issues with older versions my PyMuPDF - to good results at first glance. Thanks for keeping up the great work on this package 🙂

One thing which tripped my pipeline up a smidge, was a possible change in the flags used to mark text extracted from pictures.

So, I wondered if there were any other such tags? I can’t find reference to `<!-- Start of picture text --> ... <!-- End of picture text -->` markers anywhere in the documentation - perhaps there are other content types marked in a similar manner?

One final observation is that **ignore\_images** (_bool_) is set to true, so I’m a little surprised any were present?!

---

<div class="post-metadata">

**Author:** ![Jamie\_Lemon](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/jamie_lemon/32/5_2.png) [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Post date:** [October 20, 2026, 3:46pm UTC](https://forum.mupdf.com/t/to-markdown-container-flags-query/391/2 "2026-10-20T15:46:25Z")

</div>

Hi @MW_UK - can you confirm you are using PyMuPDF 2.0 here?
