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: 6 months ago
JSON representation
一个适用于思源笔记的 pseudocode.js 挂件 | A pseudocode.js widget for Siyuan Note.
- Host: GitHub
- URL: https://github.com/zuoqiu-yingyi/widget-pseudocode
- Owner: Zuoqiu-Yingyi
- License: agpl-3.0
- Created: 2022-10-14T02:52:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-11T08:00:17.000Z (over 2 years ago)
- Last Synced: 2025-02-06T22:14:52.020Z (8 months ago)
- Topics: monaco-editor, pseudocode, siyuan, siyuan-note, siyuan-widget
- Language: JavaScript
- Homepage: https://publish.zuoqiu.space/widgets/pseudocode/index.html
- Size: 2.85 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# widget-pseudocode
[](https://github.com/Zuoqiu-Yingyi/widget-pseudocode/releases/latest)
[](https://github.com/Zuoqiu-Yingyi/widget-pseudocode/releases/latest)
[](https://github.com/Zuoqiu-Yingyi/widget-pseudocode/blob/main/LICENSE)
[](https://github.com/Zuoqiu-Yingyi/widget-pseudocode/commits/main)


[](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

## 功能 | 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)