Skip to content

Is it possible to omit the meta information at the top of the generated markdown? #12

@Cotspheer

Description

@Cotspheer

First of all: Thank you! This library is exactly what I've searched for.

By using it I found that the produced result always contains metadata at the top of the markdown. For my use case it is more like "clutter"/"noise" so to speak. Is there any option to disable that?

const markdown = await H2MParser.processHtml(mammothResult.value, "", {});
console.log(markdown.markdown);
---
length: 15501
wordCount: 1868
retrievedAt: 2025-12-30T16:44:27.859Z
bytes: 15702
---

It is more like an enhancement request as I can strip that away with a post processing step.

Regardless, thanks for your package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions