Butterfly document - Q&A
This article is translated from ChatGPT. π Table of Contents π Get Started - π Theme Pages - π Theme Configuration - βοΈ Tag Plugins - β Q&A - β‘οΈ Advanced Tutorials Here are some issues encountered by users during the installation process. Before asking a question, please check if there are any solutions available. Webpage displaying code after runningIf your webpage is only showing the following code:extends includes/layout.pug block content #recent-posts.recent-posts include...
Butterfly document - Tag Plugins
This article is translated from ChatGPT. π Table of Contents π Get Started - π Theme Pages - π Theme Configuration - βοΈ Tag Plugins - β Q&A - β‘οΈ Advanced Tutorials Tag plugins are a unique feature of Hexo and are not part of the standard Markdown format. The following syntax is only applicable to the Butterfly theme. It will not work on other themes and may even cause errors. Please be aware before using it. Although tag plugins can provide additional functionality and UI...
Butterfly document - Theme Configuration
This article is translated from ChatGPT. π Table of Contents π Get Started - π Theme Pages - π Theme Configuration - βοΈ Tag Plugins - β Q&A - β‘οΈ Advanced Tutorials Quick Read of Configuration FilesYou can quickly understand all the configuration comments, making your configuration files more convenient. If you encounter any unclear configurations, you can find more detailed information in this...
Butterfly document - Theme Pages
This article is translated from ChatGPT. π Table of Contents π Get Started - π Theme Pages - π Theme Configuration - βοΈ Tag Plugins - β Q&A - β‘οΈ Advanced Tutorials Front-matterFront-matter is the section at the top of a Markdown file, separated by ---, and is used to specify variables for individual files. Page Front-matter is used for configuring a page. Post Front-matter is used for configuring a post. If a parameter is marked as optional, you can add it based on your...
Custom Sidebar
Applicable to >= 3.8.0 The sidebar now supports customization, allowing you to add your favorite widgets. You can add your own widgets or sort existing ones (the Blog Data and Announcement widgets are fixed, but others can be sorted). Widget SortingYou only need to configure the sort_order. (It uses the order property of the Flex layout. For specific details, you can refer to the Mozilla documentation. In simple terms, use numbers to specify the sorting order. If not configured,...
When Setting top_img to false
When the top_img is set to false, the top image is not displayed.
Customize code coloring
In the Butterfly document - Theme Configuration Part 1, the process of using custom code highlighting themes has been explained. This article serves as a practical tutorial on using custom code coloring. HighlightWe'll take the example of using the Kimbie dark theme for code coloring. Configure hljs to trueModify the _config.yml file in the root directory of your Hexo project. 123456highlight: enable: true line_number: true auto_detect: false tab_replace: hljs: true Configure...
no cover
This post no cover
Tag Plugins
TabsSonnet No. 18GalleryMadrigalShall I compare thee to a summerβs day?Thou art more lovely and more temperate:Rough winds do shake the darling buds of May,And summerβs lease hath all too short a date:Sometime too hot the eye of heaven shines,And often is his gold complexion dimmβd;And every fair from fair sometime declines,By chance, or natureβs changing course untrimmβd;But thy eternal summer shall not fade,Nor lose possession of that fair thou owβst,Nor shall death brag thou wanderβst in...
Markdown Style test
This post is originated from here and is used for testing markdown style. This post contains nearly every markdown usage. Make sure all the markdown elements below show up correctly. Headers1234567891011121314# H1## H2### H3#### H4##### H5###### H6Alternatively, for H1 and H2, an underline-ish style:Alt-H1======Alt-H2------ H1H2H3H4H5H6Alternatively, for H1 and H2, an underline-ish style: Alt-H1Alt-H2Emphasis1234567Emphasis, aka italics, with *asterisks* or _underscores_.Strong emphasis,...