Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy button not enabled [email protected] #1

Open
devopsprosiva opened this issue May 12, 2019 · 2 comments
Open

Copy button not enabled [email protected] #1

devopsprosiva opened this issue May 12, 2019 · 2 comments

Comments

@devopsprosiva
Copy link

@dovy I'm trying to use your plugin with [email protected]. However I don't see the copy button enabled. Any suggestion?

Here's my .vuepress/config.js.

module.exports = {
title: 'Hello VuePress',
description: 'Just playing around',
plugins: ['@dovyp/vuepress-plugin-clipboard-copy'],
}

@sylvainpolletvillard
Copy link

Better late than never. Try this instead:

plugins: [
    ['@dovyp/vuepress-plugin-clipboard-copy', true]
]

@sdsa-cci
Copy link

@sylvainpolletvillard I've installed this plugin just like it's mentioned above and added a codeblock in my index.md file like below:

{
 "district_id": 1,
 "user_email": "[email protected]",
 "address": "XYZ"
}

But, I'm still not able to see any copy button on the code block. What am I missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants