Hi All,
I am new to Ghost and am using the cloud hosted option. I am looking to add a copy button to my code snippets, How can i do this by Code Injection? I am using the Code Injection method to add syntax highlighting.
Hi All,
I am new to Ghost and am using the cloud hosted option. I am looking to add a copy button to my code snippets, How can i do this by Code Injection? I am using the Code Injection method to add syntax highlighting.
Did you use Prism? The copy to clipboard is a separate plugin which in turn depends on the toolbar plugin, so you need both of those. Depending o how and from where you added the main script, you should be able to find these plugins to. For example cdnjs