-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I agree and want to create new issue
- Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
- Yes, I was on NexT Documentation Site.
- And yes, I already searched for current issues and this is not help to me.
Expected behavior
codeblock 在開啟 copy_button 狀況下,copy button 只應該出現在 codeblock 中
Actual behavior
Gist 受到 codeblock 影響出現無用的 copy button
在 gist 中出現的 copy button 是無效按鈕
Steps to reproduce the behavior
.config.yml data
codeblock:
# Manual define the border radius in codeblock, leave it blank for the default value: 1
border_radius:
# Add copy button on codeblock
copy_button:
enable: true
# Show text copy result
show_result: true
# Style: only 'flat' is currently available, leave it blank if you prefer default theme
style:
- Link to demo site with this bug: N/A
- Link(s) to source code or any usefull link(s): N/A
Node.js and NPM Information
node: v12.0.0
npm: 6.9.0
Package dependencies Information
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.8.0"
},
"dependencies": {
"hexo": "^3.8.0",
"hexo-deployer-git": "^1.0.0",
"hexo-generator-archive": "^0.1.5",
"hexo-generator-category": "^0.1.3",
"hexo-generator-feed": "^1.2.2",
"hexo-generator-index": "^0.2.1",
"hexo-generator-searchdb": "^1.0.8",
"hexo-generator-tag": "^0.2.0",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-marked": "^0.3.2",
"hexo-renderer-stylus": "^0.3.3",
"hexo-server": "^0.3.3"
}
}
Hexo Information
Hexo version
hexo: 3.8.0
hexo-cli: 1.1.0
os: Darwin 18.5.0 darwin x64
node: 12.0.0
v8: 7.4.288.21-node.16
uv: 1.28.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 72
nghttp2: 1.38.0
napi: 4
llhttp: 1.1.1
http_parser: 2.8.0
openssl: 1.1.1b
cldr: 34.0
icu: 63.1
tz: 2018e
unicode: 11.0
Hexo Configuration
NexT Information
NexT Version:
- Latest Master branch
- Latest Release version
- Old version
NexT Scheme:
- All schemes
- Muse
- Mist
- Pisces
- Gemini
NexT Configuration:
codeblock:
# Manual define the border radius in codeblock, leave it blank for the default value: 1
border_radius:
# Add copy button on codeblock
copy_button:
enable: true
# Show text copy result
show_result: true
# Style: only 'flat' is currently available, leave it blank if you prefer default theme
style:Other Information
Reactions are currently unavailable


