Skip to content

Commit

Permalink
chore(custom-block): release v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuoqiu-Yingyi committed Sep 7, 2023
1 parent d665f07 commit 046fc44
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

env:
PACKAGE_NAME: custom-block
PACKAGE_VERSION: 1.0.2
PACKAGE_VERSION: 1.0.3

jobs:
release-please:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "custom-block",
"private": true,
"version": "1.0.2",
"version": "1.0.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
3 changes: 2 additions & 1 deletion public/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ Use <kbd>Block Menu</kbd> > <kbd>Plugins</kbd> > <kbd>Custom Block Styles</kbd>
| Menu Item Name | Block Attribute | Function Introduction | Document Block | Super Block | Quote Block | List Block | List Item | Heading Block | Paragraph Block | Formula Block | Table Block | Code Block | HTML Block | Divider | Audio Block | Video Block | Iframe Block | Widget Block | Embed Block |
| --------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------: | :---------: | :---------: | :--------: | :-------: | :-----------: | :-------------: | :-----------: | :---------: | :--------: | :--------: | :-----: | :---------: | :---------: | :----------: | :----------: | :---------: |
| Block Style | `style` | Customize the `style` attribute of the block<br/>For more details, please refer to: [style - HTML: HyperText Markup Language \| MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style) | |||||||||||||||||
| Full Width | `block-width`:`full` | Set the width of the block to the width of the document | | | | | | | | | | | | ||||| |
| Full Screen | None | Display the block in full screen ||||||||||||||||||
| Full Width | `block-width`:`full` | Set the width of the block to the width of the document | | | | | | | | | | | | ||||| |
| Floating Display | `position`:`sticky` | When the block scrolls out of view, it floats above other blocks | |||||||||||||||||
| Danmaku | `block-render`:`danmaku` | Document Block: Display all blocks in this document as danmaku<br/>Other Blocks: Display the block as danmaku ||||||||||||||||||
| Scroll Display | `block-render`:`scroll` | Document Block: Display vertical scrollbar for blocks that exceed a certain height in this document<br/>Other Blocks: Display vertical scrollbar for the block if it exceeds a certain height ||||||||||||||||||
| Display Block ID | `block-render`:`id` | Document Block: Display block ID for all blocks in this document<br/>Other Blocks: Display block ID for the block and its subblocks ||||||||||||||||||
Expand Down
3 changes: 2 additions & 1 deletion public/README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
| 菜单项名称 | 块属性 | 功能介绍 | 文档块 | 超级块 | 引述块 | 列表块 | 列表项 | 标题块 | 段落块 | 公式块 | 表格块 | 代码块 | HTML 块 | 分割线 | 音频块 | 视频块 | Iframe 块 | 挂件块 | 嵌入块 |
| --------------- | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :-----: | :----: | :----: | :----: | :-------: | :----: | :----: |
| 块样式 | `style` | 自定义块的 `style` 属性<br/>详情请参考: [style - HTML(超文本标记语言) \| MDN](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Global_attributes/style) | |||||||||||||||||
| 全宽显示 | `block-width`:`full` | 设置该块的宽度为文档宽度 | | | | | | | | | | | | ||||| |
| 全屏显示 || 全屏显示该块 ||||||||||||||||||
| 全宽显示 | `block-width`:`full` | 设置该块的宽度为文档宽度 | | | | | | | | | | | | ||||| |
| 悬浮显示 | `block-position`:`sticky` | 当该块滚动至可视范围外时悬浮在其他块的上方显示 | |||||||||||||||||
| 弹幕 | `block-render`:`danmaku` | 文档块: 该文档下所有块都以弹幕的形式显示<br/>其他块: 以弹幕的形式显示该块 ||||||||||||||||||
| 滚屏显示 | `block-render`:`scroll` | 文档块: 该文档下所有过高的块都显示块内的纵向滚动条<br/>其他块: 若该块高度过高则在块内显示纵向滚动条 ||||||||||||||||||
| 显示块 ID | `block-render`:`id` | 文档块: 该文档下所有块都在其下方显示块 ID<br/>其他块: 该块及其下级块都在其下方显示块 ID ||||||||||||||||||
Expand Down
2 changes: 1 addition & 1 deletion public/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "custom-block",
"author": "Zuoqiu Yingyi",
"url": "https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block",
"version": "1.0.2",
"version": "1.0.3",
"minAppVersion": "2.9.0",
"backends": [
"all"
Expand Down

0 comments on commit 046fc44

Please sign in to comment.