Skip to content

Commit

Permalink
feat: Cancel custom sharing and add export ebook to html
Browse files Browse the repository at this point in the history
  • Loading branch information
1943time committed Jul 14, 2023
1 parent e644725 commit 8117bcc
Show file tree
Hide file tree
Showing 64 changed files with 765 additions and 2,138 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
echo "CSC_KEY_PASSWORD=${{ secrets.CERTIFICATE_PASSWORD }}" >> $GITHUB_ENV
echo "APPLETEAMID=${{ secrets.APPLETEAMID }}" >> $GITHUB_ENV
- name: ls
run: |
wget https://github.com/1943time/bs-web/releases/download/v0.5.1/dist.zip
chmod 755 dist.zip
unzip dist.zip
mv -f dist web
# - name: ls
# run: |
# wget https://github.com/1943time/bs-web/releases/download/v0.5.1/dist.zip
# chmod 755 dist.zip
# unzip dist.zip
# mv -f dist web
- name: Build
run: |
npm run build
Expand Down
41 changes: 23 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,45 @@
# Bluestone
A WYSIWYG markdown editor, Help you share bins your way.
[Document](https://bluestone.md-writer.com/book/docs) |
A WYSIWYG markdown editor.
[Download](https://github.com/1943time/bluestone/releases/latest)
| [中文文档](https://bluestone.md-writer.com/book/zh-doc)
| [中文文档](./ZH_README.md)


# Brief introduction

BlueStone is an open source WYSIWYG Markdown editor,Currently only `Mac` system is supported,
use [gfm](https://github.github.com/gfm/) syntax,expanded [Mermaid](https://mermaid.js.org/) graphics [Katex](https://katex.org/) formula,
Supports light and dark color schemes, with the goal of improving the Markdown reading and editing experience.
At the same time, it provides free document sharing capabilities, making documents easier to share and disseminate,
such as synchronizing markdown to your own Linux server or cloud storage.

> The above usage documents are generated by Bluestone editor
![](./docs/assets/d1.png)

![](./docs/.images/V4bGpywmCYtpVwFx7NiH4.png)
![](./docs/assets/d2.png)

![](./docs/.images/JB6DVdZ4sDQoNukOhzHdc.png)
![](./docs/assets/syntax.gif)

![](./docs/assets/share-demo2.gif)
## Format

## share demo
Text format can be converted with floating bar or syntax

Currently, markdown is supported to Linux servers and Alibaba Cloud OSS, which only requires very simple configuration.
![](./docs/assets/text.png)

When the service parameters are configured.
![](./docs/assets/test1.gif)

Open a markdown file and write the following content
![](./docs/assets/input.png)
## Export

Click Share Button
Support exporting pdf, html, and ebook.

An eBook is a document that combines multiple documents into one document by chapter and is equipped with a search function.

Select Export eBook, and Choose a custom chapter.

![](./docs/assets/d3.png)

Will merge multiple documents in to a html, convert pictures to base64, and internal links will jump to each other.

The result is as follows

![](./docs/assets/d4.png)

![](./docs/assets/start-share.png)

to view the content in the browser

![](./docs/assets/share-result.png)

44 changes: 44 additions & 0 deletions ZH_README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 青石
一个所见即所得Markdown编辑器
[Download](https://github.com/1943time/bluestone/releases/latest)


# 简介

青石是一个开源Markdown编辑器,目前只支持 `Mac` 系统,
使用 [gfm](https://github.github.com/gfm/) 语法,扩展了 [Mermaid](https://mermaid.js.org/) 图形 [Katex](https://katex.org/) 公式,
支持明暗两种风格,目标为提高Markdown阅读与编辑体验

![](./docs/assets/d1.png)

![](./docs/assets/d2.png)

![](./docs/assets/syntax.gif)

## 格式

文字格式可以使用浮动栏或语法转换

![](./docs/assets/text.png)

![](./docs/assets/test1.gif)

## 导出

支持导出 pdf,html,和电子书

电子书是一种将多个文档按章节合并入一个文档,并配备搜索功能。

选择导出电子书,然后选择自定义章节

![](./docs/assets/d3.png)

将多个文档合并到一个 html 中,将图片转换为 base64,内部链接将相互跳转。

结果如下

![](./docs/assets/d4.png)




Binary file removed docs/.images/77o6VPp76RReXRaDJKN8n.png
Binary file not shown.
Binary file removed docs/.images/BC_jKrzg-ouox8zpC0EFG.png
Binary file not shown.
Binary file removed docs/.images/BqVYzfX2ZHnI39MnRE3Pp.png
Binary file not shown.
Binary file removed docs/.images/BvAeunpYqwZqKtJRKxvPB.png
Binary file not shown.
Binary file removed docs/.images/C1qo4ES-W-B6GO2zB8gpm.png
Binary file not shown.
Binary file removed docs/.images/DSrnppOaxnFWC1k0mtf1b.png
Binary file not shown.
Binary file removed docs/.images/JB6DVdZ4sDQoNukOhzHdc.png
Binary file not shown.
Binary file removed docs/.images/NaViPz4C4b-sShtm5cs22.png
Binary file not shown.
Binary file removed docs/.images/V4bGpywmCYtpVwFx7NiH4.png
Binary file not shown.
Binary file removed docs/.images/c2WP66VfzZR4854wlvpzJ.png
Binary file not shown.
Binary file removed docs/.images/h63Evo-Y1NgjsT83RYHhE.png
Binary file not shown.
Binary file removed docs/.images/q8gRNY--yR_tGS9FQKQaz.png
Binary file not shown.
Binary file removed docs/.images/qH52DzivcNXz8yY_eKec7.png
Binary file not shown.
Binary file removed docs/.images/suUxrWDayV8HcXWvSAF2O.png
Binary file not shown.
Binary file added docs/assets/d1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/d2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/d3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/d4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/share-demo.gif
Binary file not shown.
Binary file removed docs/assets/share-result.png
Binary file not shown.
Binary file removed docs/assets/start-share.png
Binary file not shown.
Binary file added docs/assets/syntax.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/test1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 0 additions & 53 deletions docs/en/eBook.md

This file was deleted.

16 changes: 0 additions & 16 deletions docs/en/introduction.md

This file was deleted.

108 changes: 0 additions & 108 deletions docs/en/markdown.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/en/problem.md

This file was deleted.

Loading

0 comments on commit 8117bcc

Please sign in to comment.