文章分类
二进制杂谈
计算机科学零基础学Java语言-浙江大学-翁恺
计算机科学文章列表
Step.4 主题特殊功能
(❁´◡`❁)🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
以下介绍可以使用的 markdown 或者标签代码。
功能大部分基于 hexo-renderer-multi-markdown-it 渲染器,尤其是代码块的显示,与默认渲染器不兼容。
# links 链接块
本功能参考 NexT,基于 Hexo Tag 功能,用来建立友链或其他网址链接功能。
文章中的使用格式:
使用 links 标签块,包围 yml 语法书写的内容,字段包括
–|--|–
site | 站点名称 | 必填
owner | 管理员名字 | 可选,默认为 site...
more...
Step.3 界面显示
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
# 首页置顶文章
在文章的 Front Matter 设置 sticky: true ,则该文章将显示在首页最上方的 置顶文章 列。
多篇文章按照发布时间倒序排列,不分页。
1234---title: 置顶文章sticky: true---
# 首页精选分类
想要在首页显示分类翻转块,需要按照以下示例的方式,给需要显示的分类加上封面图。
首先,修改站点配置:
找到 category_map: ,配置每个分类对应的英文映射,比如:
12345678category_map: 计算机科学:...
more...
Step.2 基本配置
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
# 站点别称
1alternate: Yume Shoka
这里设置的名称代替 Logo,显示在页面顶部,以及页尾©️处
# 静态文件目录
1statics: / #//gcore.jsdelivr.net/gh/amehime/shoka@latest/
默认值是 / ,指使用本地静态文件
可以修改成 //gcore.jsdelivr.net/gh/您的github用户名/您的项目名@latest/ 这种形式,以使用 jsDelivr 进行加速。
PS:jsDelivr...
more...
Step.1 依赖插件
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
请务必将 hexo-renderer-multi-markdown-it 升级到最新版,目前为 0.1.5
Theme Shoka 依赖以下 Hexo 插件
插件名称
npm 地址
功能
依赖程度
hexo-renderer-multi-markdown-it
链接
md 文件渲染器,压缩 css/js/html
必需
hexo-autoprefixer
链接
给生成的 css...
more...
Code Highlight Style test
Make sure all the code blocks highlighted correctly. All the code samples are come from the demo of https://highlightjs.org
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.