The Next theme version used here is 7.8.0.
First, locate the file:
1 | /themes/next/_config.yml |
Search for the keyword font.
⚠️ Important: You must set enable inside font to true, because the default value is false.
If you only modify the family without enabling it, the font change will not take effect — so make sure you don’t miss this step.
If the font family is sourced from an external platform, you also need to configure the host.
1 | font: |
Enable Copy Button for Code Blocks
In the same _config.yml file, locate the following configuration section.
Set copy_button.enable to true to enable the copy feature.
- When
show_resultis set totrue, a checkmark will be shown after copying. - The
styleoption controls the appearance of the copy button. Choose based on your preference.
1 | codeblock: |