{"id":22883048,"url":"https://github.com/zuoqiu-yingyi/widget-pseudocode","last_synced_at":"2025-03-31T16:52:28.020Z","repository":{"id":61439072,"uuid":"551220537","full_name":"Zuoqiu-Yingyi/widget-pseudocode","owner":"Zuoqiu-Yingyi","description":"一个适用于思源笔记的 pseudocode.js 挂件 | A pseudocode.js widget for Siyuan Note.","archived":false,"fork":false,"pushed_at":"2023-03-11T08:00:17.000Z","size":2989,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T22:14:52.020Z","etag":null,"topics":["monaco-editor","pseudocode","siyuan","siyuan-note","siyuan-widget"],"latest_commit_sha":null,"homepage":"https://publish.zuoqiu.space/widgets/pseudocode/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zuoqiu-Yingyi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-14T02:52:48.000Z","updated_at":"2023-05-11T11:54:06.000Z","dependencies_parsed_at":"2024-12-13T18:42:36.544Z","dependency_job_id":null,"html_url":"https://github.com/Zuoqiu-Yingyi/widget-pseudocode","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuoqiu-Yingyi%2Fwidget-pseudocode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuoqiu-Yingyi%2Fwidget-pseudocode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuoqiu-Yingyi%2Fwidget-pseudocode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuoqiu-Yingyi%2Fwidget-pseudocode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zuoqiu-Yingyi","download_url":"https://codeload.github.com/Zuoqiu-Yingyi/widget-pseudocode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246500465,"owners_count":20787700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monaco-editor","pseudocode","siyuan","siyuan-note","siyuan-widget"],"created_at":"2024-12-13T18:31:56.720Z","updated_at":"2025-03-31T16:52:27.996Z","avatar_url":"https://github.com/Zuoqiu-Yingyi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# widget-pseudocode\n\n\u003ccenter\u003e\n\n[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/Zuoqiu-Yingyi/widget-pseudocode?include_prereleases\u0026style=flat-square)](https://github.com/Zuoqiu-Yingyi/widget-pseudocode/releases/latest)\n[![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)\n[![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)\n[![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)\n![GitHub repo size](https://img.shields.io/github/repo-size/Zuoqiu-Yingyi/widget-pseudocode?style=flat-square)\n![hits](https://hits.b3log.org/Zuoqiu-Yingyi/widget-pseudocode.svg)\n[![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)\n\n\u003c/center\u003e\n\n一个适用于思源笔记的 [pseudocode.js](https://saswat.padhi.me/pseudocode.js/) 挂件  \nA [pseudocode.js](https://saswat.padhi.me/pseudocode.js/) widget for Siyuan Notes.\n\n## 预览 | PREVIEW\n\n![preview-relative](./preview.png)\n![preview-location](/widgets/pseudocode/preview.png)\n\n## 功能 | FUNCTION\n\n- 自动编号 | Auto numbering\n  - 当右上角编号设置为 `0` 时开启自动编号  \n    Turn on auto-numbering when the top-right number is set to `0`.\n    - 默认开启 | Default on\n    - 在加载/渲染/保存时刷新  \n      Refresh when loading/rendering/saving.\n- 手动编号 | Manual numbering\n  - 当右上角编号设置为非 `0` 值时开启手动编号  \n    Turn on manual numbering when the top-right number is set to a value other than `0`.\n- 预览 | preview\n  - 双击预览面板切换编辑/预览状态  \n    Double-click the preview panel to toggle the edit/preview status.\n- 编辑 | Edit\n  - 使用快捷键 \u003ckbd\u003eAlt + Z\u003c/kbd\u003e 开启/关闭自动换行功能  \n    Use the shortcut \u003ckbd\u003eAlt + Z\u003c/kbd\u003e to enable/disable word wrapping function.\n  - 使用快捷键 \u003ckbd\u003eCtrl + P\u003c/kbd\u003e 切换至预览状态  \n    Use the shortcut \u003ckbd\u003eCtrl + P\u003c/kbd\u003e to toggle to preview state.\n  - 使用快捷键 \u003ckbd\u003eCtrl + S\u003c/kbd\u003e 保存当前编辑区内容  \n    Use the shortcut \u003ckbd\u003eCtrl + P\u003c/kbd\u003e to save the content of the current editing area.\n- 导出 | Export\n  - 在笔记中导出为 HTML 或 PDF 时保留渲染后的样式  \n    Preserves the rendered style when exporting to HTML or PDF in notes.\n- 分享 | Share\n  - 编辑模式中使用快捷键 \u003ckbd\u003eCtrl + Shift + S\u003c/kbd\u003e 复制分享链接  \n    Use the shortcut \u003ckbd\u003eCtrl + P\u003c/kbd\u003e to copy the share link in edit mode.\n\n## 依赖 | DEPENDENCIES\n\n| 作者 \\| Author                                    | 项目 \\| Project                                                           | 版本 \\| Version | 许可证 \\| License                                                                 |\n| :------------------------------------------------ | :------------------------------------------------------------------------ | :-------------- | :-------------------------------------------------------------------------------- |\n| **[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)* |\n| **[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)* |\n\n注: 按引入时间排序\n\n## 更改日志 | CHANGE LOG\n\n[CHANGE LOG](./CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuoqiu-yingyi%2Fwidget-pseudocode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuoqiu-yingyi%2Fwidget-pseudocode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuoqiu-yingyi%2Fwidget-pseudocode/lists"}