Extra Tags
Installation
1 | npm install hexo-solitude-tag |
Usage
Note (Bootstrap)
1 | {% note class='className' icon='icon' %} |
- ‘className’: The class name of the
- ‘icon’: The icon name (full name, e.g., “fas fa-github”).
default
Primary note with icon.
Success note with icon.
Info note with icon.
Warning note with icon.
Danger note with icon.
flat
Primary note with icon.
Success note with icon.
Info note with icon.
Warning note with icon.
Danger note with icon.
simple
Primary note with icon.
Success note with icon.
Info note with icon.
Warning note with icon.
Danger note with icon.
modern
Primary note with icon.
Success note with icon.
Info note with icon.
Warning note with icon.
Danger note with icon.
1 | > default |
Button
1 | {% button 'icon' 'content' 'url' %} |
- ‘icon’: The icon name (full name, e.g., “fas fa-github”).
- ‘content’: The content of the button.
- ‘url’: The URL of the button.
1 | {% button 'fab fa-github' 'GitHub' 'https://github.com' %} |
Repo
1 | {% github 'owner/repo' %} |
- ‘owner’: The owner of the repository.
- ‘repo’: The name of the repository.
- ‘projectID’: The ID of the project.
- ‘server’: The server address of the repository.
1 | {% github 'everfu/hexo-theme-solitude' %} |
- Thank you for your appreciation.
List of appreciation
Because of your support, I realized the value of writing articles.
This piece of writing is an original article, utilizing theCC BY-NC-SA 4.0Agreement. For complete reproduction, please acknowledge the source as Courtesy ofSolitude