这个博客的主题开源啦
分类 Hexo Theme
标签 Github Hexo MDUI twikoo prismjs

Github 地址
tobylai-toby/hexo-theme-mdsuper
来给个 star ⭐ 吧
简介
Readme
以下部分为项目的
Readme介绍文件(摘要)
hexo-theme-mdsuper
A hexo blog theme using mdui-v2 with Material You (Material Design 3).
Supports twikoo comment system and Prismjs highlight.
Install
cd your-hexo-site/
git clone https://github.com/tobylai-toby/hexo-theme-mdsuper.git themes/mdsuperActivation
go to your-hexo-site/_config.yml and change theme to mdsuper.
theme: mdsuper
language: zh-CN # default is en
# set language to zh-CN if you are using ChinesePrismjs
mdsuper uses prismjs to highlight code.
prism.js and prism.css are included in the theme, but it’s recommended to use a customized version because you can choose what languages and plugins to include.
Go to prismjs download to download a customized download.
Move
prism.jstoyour-hexo-site/themes/mdsuper/source/js/prism.js.Move
prism.csstoyour-hexo-site/themes/mdsuper/source/css/prism.css.
Configuration
go to your-hexo-site/themes/mdsuper/_config.yml and configure it.
© 2024 Tobylai 萌ICP备20258648号
Powered By Hexo & Theme mdsuper