Skip to content

Commit

Permalink
chore(custom-fonts): release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuoqiu-Yingyi committed Jun 8, 2023
1 parent 6f6d4da commit dbdb4b8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "custom-fonts",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
3 changes: 3 additions & 0 deletions public/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ A plugin for [SiYuan Note](https://github.com/siyuan-note/siyuan) that allows yo

### Function Introduction

* Built-in [Twitter emoji (Twemoji)](https://github.com/mozilla/twemoji-colr) font

* This font can be referenced by the font family name `Twemoji Mozilla`
* Check the font list in the system where the kernel is located

* Some fonts in this list cannot be loaded when using a server.
Expand Down
3 changes: 3 additions & 0 deletions public/README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

### 功能介绍

* 内置 [Twitter Emoji (Twemoji)](https://github.com/mozilla/twemoji-colr) 表情符号字体

* 可通过字体族名 `Twemoji Mozilla` 引用该字体
* 查看内核所在系统的字体列表

* 在使用伺服时该列表中的部分字体无法加载
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-fonts",
"author": "Zuoqiu Yingyi",
"url": "https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-fonts",
"version": "0.0.0",
"version": "1.0.0",
"minAppVersion": "2.9.0",
"backends": [
"all"
Expand Down
Binary file added public/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export default class CustomFontsPlugin extends siyuan.Plugin {

onLayoutReady(): void {
moveElementToHeadById(this.STYLE_ELEMENT_ID);
this.openSetting();
}

onunload(): void {
Expand Down

0 comments on commit dbdb4b8

Please sign in to comment.