mathpix-markdown-it icon indicating copy to clipboard operation
mathpix-markdown-it copied to clipboard

Copy to clipboard does not work

Open JamMaster1999 opened this issue 10 months ago • 0 comments

Hello!

I am using this code to get the copy to clipboard option for code blocks.

    const options = { htmlTags: true, copyToClipboard: true, htmlSanitize: { disallowedTagsMode: "recursiveEscape" }, smiles: { theme: ufloMode }, codeHighlight: { auto: true} };

    const html = window.render(content, options);

However, there is no copy to clipboard when I render the element.

JamMaster1999 avatar Feb 04 '25 04:02 JamMaster1999