Using multimedia="false" in <document> still includes images in docx documents
The multimedia parameter of document is documented as "If true, the multimedias will be displayed. If false, the alt strings will be displayed at best effort." But what exactly is this intended to do?
If I include a docx document like <document src="MyDoc.docx" parser="docx" multimedia="false" />, I still get the images included in the document inlined as base64-encoded string, eating away tokens. Is this intended? And if yes, how do I prevent the inclusion of images? I'm only interested in the text in this case.
I think that's a long forgotten bug left over from probably 0.0.4. Will fix it ASAP.
As a workaround, would you try the following in your POML:
<stylesheet>{"img": {"syntax": "markdown", "alt": "[image not visible]"}}</stylesheet>
Tell me if it works or crashes.
Yes, with the stylesheet in place I no longer get the images in the output. Thanks for the work-around!