Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
God-2077 authored Aug 29, 2024
1 parent 717a5c7 commit d6f71c6
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 606 deletions.
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# k-hexo-shortcode-plugin
## 一个 Hexo 的短代码插件

A simple shortcode plugin for Hexo
虽然官方正式名称应该叫标签插件,但我更愿意叫它短代码插件

# ***注意本插件正处于开发阶段***
> [标签插件(Tag)](https://hexo.io/zh-cn/api/tag)
> 标签插件帮助开发者在文章中快速插入内容。
通过短代码,你可以很轻松的在文本中插入隐藏文本、提示等等。能让你的文章表达形式更加丰富

## ***注意本插件正处于开发阶段***

## 短代码

### 隐藏文本

#### 介绍

该短代码可以插入一段隐藏文本。

#### 用法

```md
{% hidden 内容 参数名:参数%}
```

#### 参数


| 参数名 | 可选值 | 默认值 | 解释 | 是否必须 |
| ------ | --------------- | ------ | -------------------------- | -------- |
| type | blur/background | blur | 隐藏的形式 (模糊/黑条) ||
| color | 字符串 || 鼠标移上一段时间后显示的话 ||
214 changes: 0 additions & 214 deletions chatgpt/1.md

This file was deleted.

123 changes: 0 additions & 123 deletions chatgpt/2.md

This file was deleted.

Loading

0 comments on commit d6f71c6

Please sign in to comment.