Add copy code button (#963)
* Add copy code button * External package not needed * Improve alignement * Update button style + add feedback on click Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update dependencies Signed-off-by: hossainemruz <hossainemruz@gmail.com> --------- Signed-off-by: hossainemruz <hossainemruz@gmail.com> Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
parent
9da3e3420b
commit
0d4d8a8e3c
8 changed files with 582 additions and 99 deletions
|
@ -91,6 +91,9 @@ params:
|
|||
# Configure various features of this theme
|
||||
features:
|
||||
|
||||
# Enable dark theme
|
||||
darkMode:
|
||||
|
||||
# [Deprecated] Enable dark theme
|
||||
# This is a deprecated setting, but has not been removed to maintain backward compatibility
|
||||
# If `theme` is set, the `darkMode` setting will be discarded.
|
||||
|
@ -285,6 +288,10 @@ params:
|
|||
# options doc: https://github.com/sampotts/plyr#options
|
||||
# fullscreen: true
|
||||
|
||||
# Enables copy code button
|
||||
copyCodeButton:
|
||||
enable: true
|
||||
|
||||
# Enable reading time support in post cards and in post pages
|
||||
readingTime:
|
||||
enable: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue