mirror of
https://github.com/purocean/yn.git
synced 2026-10-29 18:15:23 +08:00
106 lines
7.7 KiB
Markdown
106 lines
7.7 KiB
Markdown
# Yank Note
|
||
|
||
A **highly extensible** Markdown editor, designed for productivity. **[Download](https://github.com/purocean/yn/releases)** | **[Try it Online >>>](https://demo.yank-note.com/)**
|
||
|
||
[](https://apps.apple.com/cn/app/yank-note/id1551528618) [Not recommended](https://github.com/purocean/yn/issues/65#issuecomment-1065799677)
|
||
|
||
English | [中文说明](./README_ZH-CN.md)
|
||
|
||
[toc]{level: [2]}
|
||
|
||

|
||
|
||
## Highlights
|
||
|
||
- **Easy to use:** Use *Monaco* kernel, optimize for Markdown editing, and have the same editing experience as VSCode.
|
||
- **Powerful:** Support version control; Applets, runnable code blocks, tables, PlantUML, Drawio, macro replacements, etc., can be embedded in the document; support for [OpenAI](https://openai.com) auto completion.
|
||
- **High compatibility:** Data is saved as local Markdown files, and the extension functions are implemented in the original syntax of Markdown as far as possible.
|
||
- **Plug-in extension:** Support users to write their own plug-ins to expand the functionality of the editor.
|
||
- **Encryption supported:** Use encryption to save private files such as account number, and the password can be set separately for each file.
|
||
|
||
## Attention
|
||
|
||
- For more extendable, Yank Note sacrifices security protection (command execution, arbitrary file reading and writing). If you want to use it to open a foreign Markdown file, ⚠️**be sure to carefully identify whether the content of the file is trustworthy**⚠️.
|
||
- The encryption and decryption of encrypted files are both completed at the front end. Please **be sure to remember your password**. Once the password is lost, it can only be cracked violently.
|
||
|
||
## Characteristic functions
|
||
|
||
For more information on how to use the following functions, please see [characteristic functions description](./help/FEATURES.md)
|
||
|
||
- **Sync scrolling:** the editing area and the preview area scroll synchronously, and the preview area can be scrolled independently
|
||
- **Outline:** quickly jump to the corresponding location of the document through the directory outline in the preview area
|
||
- **Version Control:** Support backtracking document history versions
|
||
- **Encryption:** files ending with `.c.md` are treated as encrypted files
|
||
- **Auto-save:** automatically save files after editing, with orange title bar reminder for unsaved files (encrypted documents are not automatically saved)
|
||
- **Editing:** automatic completion of list
|
||
- **Paste images:** you can quickly paste pictures from the clipboard and insert them as files or Base64
|
||
- **Embed attachments:** you can add attachments to the document and click to open them in the operating system.
|
||
- **Code running:** support to run JavaScript, PHP, nodejs, Python, bash code
|
||
- **To-do list:** support to display the to-do progress in the document. Click to quickly switch the to-do status.
|
||
- **Quickly Open:** you can use shortcut key to open the file switch panel to quickly open files, tagged files, and full-text search for file contents.
|
||
- **Integrated terminal:** support to open the terminal in the editor to quickly switch the current working directory
|
||
- **Katex:** support katex expression
|
||
- **Style:** Markdown uses GitHub styles and features
|
||
- **Repository:** multiple data locations can be defined for document classification
|
||
- **External link conversion:** convert external link or Base64 pictures into local pictures
|
||
- HTML resolving:you can use HTML code directly in the document, or use shortcut keys to copy and paste HTML to Markdown
|
||
- **Multiple formats export:** the backend uses pandoc as converter
|
||
- **TOC:** write `[toc]{type:** "ol", level:** [1,2,3]}` to generate TOC where you need to generate a directory
|
||
- **Edit table cell:** double-click a table cell to quickly edit
|
||
- **Copy title link:** copy title link path to the clipboard for easy insertion into other files
|
||
- **Embedded Applets:** document supports embedded HTML Applets
|
||
- **Embed PlantUML graphics:** document supports embedded plantUML graphics
|
||
- **Embed drawio graphics:** document supports embedded drawio graphics
|
||
- **Embed ECharts graphics:** document supports embedded Echarts graphics
|
||
- **Embed Mermaid graphics:** document supports embedded Mermaid graphics
|
||
- **Embed Luckysheet tables:** document supports embedded Luckysheet tables
|
||
- **Mind map:** nested list can be displayed in the form of a mind map
|
||
- **Element attribute writing:** any attribute of an element can be customized
|
||
- **Table enhancement:** support table title with multiple lines of text, list and other features
|
||
- **Document link:** support to link other documents in the document and jump to each other
|
||
- **Footnote:** support writing footnotes in the document
|
||
- **Custom container:** support custom containers similar to VuePress default themes
|
||
- **Macro replacement:** support for embedded JavaScript expressions to dynamically replace document content
|
||
- **Image hosting service:** support [PicGo](https://picgo.github.io/PicGo-Doc/) image hosting service
|
||
- **OpenAI:** support for [OpenAI](https://openai.com) auto completion
|
||
- **Custom plug-ins:** support writing JavaScript plug-ins to expand editor functionality. The plug-in is placed in the `home directory/plugins`. Refer to [plug-in Development Guide](./help/PLUGIN.md)
|
||
|
||
## Screenshots
|
||
|
||

|
||

|
||

|
||

|
||

|
||

|
||
|
||
## Changelogs
|
||
|
||
### [v3.72.2](https://github.com/purocean/yn/releases/tag/v3.72.2) 2024-07-04
|
||
|
||
[Windows](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-win-x64-3.72.2.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-mac-arm64-3.72.2.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-mac-x64-3.72.2.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-linux-x86_64-3.72.2.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-linux-amd64-3.72.2.deb)
|
||
|
||
1. feat: Optimize the experience of using automatic numbering for ordered lists, and support disabling automatic numbering in configuration options.
|
||
2. feat: Use the table of contents outline to jump/automatically focus on the editor after displaying the editor.
|
||
3. feat: Optimize syntax suggestion completion, distinguish between inline elements and block elements, and support quickly adding table rows.
|
||
4. feat: Add a right-click context menu for images in the preview area, supporting operations such as copying images and opening images.
|
||
5. feat: Optimize the navigation stack, supporting anchor positioning and maintaining scroll position.
|
||
6. feat: Support automatic scrolling to the bottom when running code.
|
||
7. feat: Automatically trigger Wiki link suggestions when typing `【【`.
|
||
8. feat: Other interaction experience optimizations and bug fixes.
|
||
9. fix: Disable automatic updates for the Windows zip version to avoid repeated upgrade failure issues.
|
||
10. feat(plugin): The `markdown-link` plugin exposes the `mdRuleConvertLink`, `htmlHandleLink` methods.
|
||
11. feat(plugin): `ctx.doc.switchDoc` adds more parameters, supporting jumping to a specified location.
|
||
12. feat(plugin): Add the `ctx.routines.changePosition` method to jump to a specified location in the current document.
|
||
13. feat(plugin): Add the `ctx.view.highlightAnchor` method to highlight/jump to a specified anchor in the current preview area.
|
||
14. feat(plugin): Add the `ctx.view.getScrollTop` method to get the current scroll position of the preview area.
|
||
15. feat(plugin): Add the `DOC_SWITCH_SKIPPED` Hook, which is triggered when attempting to switch to the current document.
|
||
|
||
[More release notes](https://github.com/purocean/yn/releases)
|
||
|
||
## Supports
|
||
|
||
Wechat Group
|
||
|
||
<img src="./help/qrcode-wechat.jpg?.inline" width="150">
|