Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zuoqiu-yingyi/widget-pseudocode

一个适用于思源笔记的 pseudocode.js 挂件 | A pseudocode.js widget for Siyuan Note.
https://github.com/zuoqiu-yingyi/widget-pseudocode

monaco-editor pseudocode siyuan siyuan-note siyuan-widget

Last synced: 21 days ago
JSON representation

一个适用于思源笔记的 pseudocode.js 挂件 | A pseudocode.js widget for Siyuan Note.

Awesome Lists containing this project

README

        

# widget-pseudocode

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

一个适用于思源笔记的 [pseudocode.js](https://saswat.padhi.me/pseudocode.js/) 挂件
A [pseudocode.js](https://saswat.padhi.me/pseudocode.js/) widget for Siyuan Notes.

## 预览 | PREVIEW

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

## 功能 | FUNCTION

- 自动编号 | Auto numbering
- 当右上角编号设置为 `0` 时开启自动编号
Turn on auto-numbering when the top-right number is set to `0`.
- 默认开启 | Default on
- 在加载/渲染/保存时刷新
Refresh when loading/rendering/saving.
- 手动编号 | Manual numbering
- 当右上角编号设置为非 `0` 值时开启手动编号
Turn on manual numbering when the top-right number is set to a value other than `0`.
- 预览 | preview
- 双击预览面板切换编辑/预览状态
Double-click the preview panel to toggle the edit/preview status.
- 编辑 | Edit
- 使用快捷键 Alt + Z 开启/关闭自动换行功能
Use the shortcut Alt + Z to enable/disable word wrapping function.
- 使用快捷键 Ctrl + P 切换至预览状态
Use the shortcut Ctrl + P to toggle to preview state.
- 使用快捷键 Ctrl + S 保存当前编辑区内容
Use the shortcut Ctrl + P to save the content of the current editing area.
- 导出 | Export
- 在笔记中导出为 HTML 或 PDF 时保留渲染后的样式
Preserves the rendered style when exporting to HTML or PDF in notes.
- 分享 | Share
- 编辑模式中使用快捷键 Ctrl + Shift + S 复制分享链接
Use the shortcut Ctrl + P to copy the share link in edit mode.

## 依赖 | DEPENDENCIES

| 作者 \| Author | 项目 \| Project | 版本 \| Version | 许可证 \| License |
| :------------------------------------------------ | :------------------------------------------------------------------------ | :-------------- | :-------------------------------------------------------------------------------- |
| **[Microsoft](https://github.com/microsoft)** | [microsoft/monaco-editor](https://github.com/microsoft/monaco-editor) | `0.34.0` | *[MIT License](https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt)* |
| **[SaswatPadhi](https://github.com/SaswatPadhi)** | [SaswatPadhi/pseudocode.js](https://github.com/SaswatPadhi/pseudocode.js) | `2.2.0` | *[MIT license](https://github.com/SaswatPadhi/pseudocode.js/blob/master/LICENSE)* |

注: 按引入时间排序

## 更改日志 | CHANGE LOG

[CHANGE LOG](./CHANGELOG.md)