mathpix-markdown-it
mathpix-markdown-it copied to clipboard
Copy to clipboard does not work
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.