Ajax
Ajax概述AJAX 简介AJAX 全称为Asynchronous JavaScript And XML,就是异步的JS 和XML通过AJAX 可以在浏览器中向服务器发送异步请求,最大的优势:无刷新获取数据AJAX 不是新的编程语言,而是一种将现有的标准组合在一起使用的新方式
XML 简介XML 可扩展标记语言。XML 被设计用来传输和存储数据。XML 和HTML 类似,不同的是HTML 中都是预定义标签,而XML 中没有预定义标签,全都是自定义标签,用来表示一些数据。
比如说我有一个学生数据:name = “孙悟空” ; age = 18 ; gender = “男” ;用XML 表示:
123456<student> <name>孙悟空</name> <age>18</age> <gender>男</gender></student>
现在已经被JSON 取代了。
1{"name":"孙悟空","age":18,& ...
关于Butterfly主题
語言:
中文
英文
hexo-theme-butterfly
預覽: 👍 Butterfly || 🤞 CrazyWong
文檔: 📖 Butterfly Docs
一款基於hexo-theme-melody修改的主題
详细教程
💻 安裝Git 安裝
本倉庫同時上傳到 Gitee,如果你訪問 Github 緩慢,可從 Gitee 中下載。
在博客根目錄裡安裝穩定版【推薦】
1git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
如果想要安裝比較新的dev分支,可以
1git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
npm 安裝
此方法只支持Hexo 5.0.0以上版本
在博客根目錄裡
1npm i hexo-theme-butterfly
⚙ 應用主題修改hexo配置文件_config.yml,把主 ...
markdown渲染插件
hexo-renderer-kramed
This plugin uses kramed but not marked as render engine, it is a fork of hexo-renderer-marked. You need to uninstall hexo-renderer-marked to avoid conflicts.
Why use kramed?Just for the support of mathjax. I’ve modified the inline math format, like this example below:
1`$\sigma$`
But this renderer will only wrap your inline tex and display tex with a <script> tag, to fully enable mathjax, you need to add some js code in your theme, what I did in my theme hexo-theme-p ...
外挂标签
hexo-butterfly-tag-plugins-plus给hexo-theme-butterfly添加 大量外挂标签
安装
安装插件,在博客根目录[Blogroot]下打开终端,运行以下指令:1npm install hexo-butterfly-tag-plugins-plus --save
考虑到hexo自带的markdown渲染插件hexo-renderer-marked与外挂标签语法的兼容性较差,建议您将其替换成hexo-renderer-kramed
12npm uninstall hexo-renderer-marked --savenpm install hexo-renderer-kramed --save
添加配置信息,以下为写法示例在站点配置文件_config.yml或者主题配置文件_config.butterfly.yml中添加
123456789101112131415# tag-plugins-plus# see https://akilar.top/posts/615e2dec/tag_plugins: enable: true # 开关 pri ...
标签插件样式
行内文本样式 text红色
带 下划线 的文本
带 着重号 的文本
带 波浪线 的文本
带 删除线 的文本
键盘样式的文本 command + D
密码样式的文本:这里没有验证码
行内文本 span
彩色文字在一段话中方便插入各种颜色的标签,包括:红色、黄色、绿色、青色、蓝色、灰色。
超大号文字文档「开始」页面中的标题部分就是超大号文字。Volantis
A Wonderful Theme for Hexo
引用 note默认 提示块标签
default 提示块标签
primary 提示块标签
success 提示块标签
info 提示块标签
warning 提示块标签
danger 提示块标签
复选框
纯文本测试
支持简单的 markdown 语法
支持自定义颜色
绿色 + 默认选中
黄色 + 默认选中
...