Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 23, 2023
0 parents commit 98ee0c6
Show file tree
Hide file tree
Showing 7 changed files with 167 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 更改日志 | CHANGE LOG

## v0.1.1 | 2023-03-23

- [v0.1.0 <=> v0.1.1](https://github.com/Zuoqiu-Yingyi/siyuan-theme-dark-plus/compare/v0.1.0...v0.1.1)
- 完善 `README.md` | Improve `README.md`.
- 实现文档块属性 `YFM` 序列化方法 | Implement document block attribute `YFM` serialization method.

## v0.1.0 | 2023-03-22

- 项目初始化 | Project initialization.
- 添加文档面包屑 | Add document breadcrumb.
- 添加只读/编辑切换开关 | Add read-only/edit switch.
- 添加文档重命名功能 | Add document rename function.
- 添加原生属性保存功能 | Add native attribute save function.
- 添加书签列表查询功能 | Add bookmark list query function.
- 添加浏览位置属性编辑功能 | Add browser location attribute edit function.
- 添加自定义属性编辑功能 | Add custom attributes edit function.
- 调整响应式布局样式 | Adjust responsive layout style.
- 修复 CD 问题 | Fix CD issues.
84 changes: 84 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# widget-metadata

<center>

[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/Zuoqiu-Yingyi/widget-metadata?include_prereleases&style=flat-square)](https://github.com/Zuoqiu-Yingyi/widget-metadata/releases/latest)
[![GitHub Release Date](https://img.shields.io/github/release-date/Zuoqiu-Yingyi/widget-metadata?style=flat-square)](https://github.com/Zuoqiu-Yingyi/widget-metadata/releases/latest)
[![GitHub License](https://img.shields.io/github/license/Zuoqiu-Yingyi/widget-metadata?style=flat-square)](https://github.com/Zuoqiu-Yingyi/widget-metadata/blob/main/LICENSE)
[![GitHub last commit](https://img.shields.io/github/last-commit/Zuoqiu-Yingyi/widget-metadata?style=flat-square)](https://github.com/Zuoqiu-Yingyi/widget-metadata/commits/main)
![GitHub repo size](https://img.shields.io/github/repo-size/Zuoqiu-Yingyi/widget-metadata?style=flat-square)
![hits](https://hits.b3log.org/Zuoqiu-Yingyi/widget-metadata.svg)
[![GitHub all releases](https://img.shields.io/github/downloads/Zuoqiu-Yingyi/widget-metadata/total?style=flat-square)](https://github.com/Zuoqiu-Yingyi/widget-metadata/releases)

</center>

一个适用于 [思源笔记](https://github.com/siyuan-note/siyuan) 的文档块元数据挂件
A Widget of document block metadata for [SiYuan Note](https://github.com/siyuan-note/siyuan).

## 预览 | PREVIEW

![preview-relative](./preview.png)
![preview-location](/widgets/metadata/preview.png)

## 功能介绍 | FUNCTIONAL DESCRIPTION

- 编辑文档块的基本属性
Edit the basic attributes of document block.
- `created`
- 文档创建时间 | Document Creation Time
- `updated`
- 文档修改时间 | Document Modification Time
- `title`
- 文档标题 | Document Title
- `name`
- 文档命名 | Document Name
- `alias`
- 文档别名 | Document Alias
- `tags`
- 文档标签 | Document Tags
- `bookmark`
- 文档书签 | Document Bookmark
- `memo`
- 文档备注 | Document Memo
- 编辑文档块的自定义属性
Edit the custom attributes of document block.
- `custom-*`
- 自定义属性名仅能包含 `a-z`, `A-Z`, `0-9`, `-`
Custom attribute name can contain only `a-z`, `A-Z`, `0-9`, `-`
- 自定义属性值为空时删除该属性
Delete the custom attribute when the attribute value is empty.
- 编辑文档块的其他属性
Edit the custom attributes of document block.
- `id`
- 文档标识 | Document Identification
- `icon`
- 文档图标 | Document Icon
- `scroll`
- 文档浏览位置 | Document Browse Location
- `title-img`
- 文档题头图 | Document Cover Image

## 开始 | START

该挂件已在[思源笔记社区集市](https://github.com/siyuan-note/bazaar)上架, 可直接在集市中安装
The widget has been put on the shelves at [SiYuan community bazaar](https://github.com/siyuan-note/bazaar) and can be installed directly in the Bazaar.

## 参考 & 感谢 | REFERENCE & THANKS

## 依赖 | DEPENDENCIES

| 作者 \| Author | 项目 \| Project | 许可证 \| License |
| :------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------- |
| **[vitejs](https://github.com/vitejs)** | [vitejs/vite: Next generation frontend tooling. It's fast!](https://github.com/vitejs/vite) | *[MIT license](https://github.com/vitejs/vite/blob/main/LICENSE)* |
| **[vuejs](https://github.com/vuejs)** | [vuejs/vue: This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core](https://github.com/vuejs/vue) | *[MIT license](https://github.com/vuejs/vue/blob/main/LICENSE)* |
| **[kazupon](https://github.com/kazupon)** | [kazupon/vue-i18n: Internationalization plugin for Vue.js](https://github.com/kazupon/vue-i18n) | *[MIT license](https://github.com/kazupon/vue-i18n/blob/v8.x/LICENSE)* |
| **[arco-design](https://github.com/arco-design)** | [arco-design/arco-design-vue: A Vue.js 3 UI Library based on Arco Design](https://github.com/arco-design/arco-design-vue) | *[MIT license](https://github.com/arco-design/arco-design-vue/blob/main/LICENSE)* |
| **[moment](https://github.com/moment)** | [GitHub - moment/moment: Parse, validate, manipulate, and display dates in javascript.](https://github.com/moment/moment) | *[MIT license](https://github.com/moment/moment/blob/develop/LICENSE)* |


注: 按引入时间排序
ps: Sort by introduction time.

## 更改日志 | CHANGE LOGS

[CHANGELOG](./CHANGELOG.md)
41 changes: 41 additions & 0 deletions assets/index-58430353.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-982d4ba4.css

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Metadata</title>

<script async type="module" crossorigin src="./assets/index-58430353.js"></script>
<link rel="stylesheet" href="./assets/index-982d4ba4.css">
</head>

<body></body>

</html>
Binary file added preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions widget.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "metadata",
"author": "Zuoqiu-Yingyi",
"url": "https://github.com/Zuoqiu-Yingyi/widget-metadata",
"version": "0.1.1"
}

0 comments on commit 98ee0c6

Please sign in to comment.