Skip to content

Feature request: Give user ability to provide a patcher pattern #2972

Open
@arths31

Description

@arths31

Hello,

I am wondering if it would be possible to add a property in PatchDocumentOptions so the user could define the pattern used to patch.

For example instead of using {{ }} we could use { } or [ ].

I see that at the moment the pattern is hardcoded in from-docx.ts line 138.
const patchText = {{${patchKey}}};

Tell me your thoughts
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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