piotrpdev / showdown-copy-code

Showdown extension that adds a button above code blocks to quickly and easily copy code to the clipboard.
MIT License
1 stars 0 forks source link

The library isn't working . #1

Open bluzeey opened 2 months ago

bluzeey commented 2 months ago

Hey Piotr, I have been trying to integrate your library, for my use case, have to create a copy code button for every code block i convert with showdown and showdown highlight. However i don't see anything in my view. Here's the code as well. const markdownConverter = new showdown.Converter({ simpleLineBreaks: false, taskLists: true, smartIndentationFix: true, moreStyling: true, simplifiedAutoLink: true, literalMidWordUnderscores: true, strikethrough: true, tables: true, extensions: [showdownHighlight, showdownCopyCode], });

image

piotrpdev commented 2 months ago

Hi Sahil, I'm afraid I can't help you unless you provide a minimal reproducible example.

The reason you're not seeing anything may be due to a multitude of reasons, including ones unrelated to the library.

You may also benefit from asking on StackOverflow instead 🙂.