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

Add copy code button #326

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ params:

# Configure various features of this theme
features:

# [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.
Expand Down Expand Up @@ -265,7 +264,11 @@ params:
# options doc: https://github.com/sampotts/plyr#options
# fullscreen: true

# Enable reading time support in post cards and in post pages
# Enables copy code button
copyCodeButton:
enable: true

# Enable reading time support in post cards and in post pages
readingTime:
enable: false

Expand Down
Loading