mirror of
https://github.com/purocean/yn.git
synced 2026-08-30 17:47:18 +08:00
e9731f08a6
Agent-Logs-Url: https://github.com/purocean/yn/sessions/423ca3b8-9674-4d0f-98d1-bc1fd5c33c5d Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
2.7 KiB
2.7 KiB
HTML Support Test
This document tests raw HTML rendering in Yank Note.
Note
: HTML support requires
html: truein mdOptions (enabled by default).
Basic HTML Tags
This is a paragraph in HTML.
Bold text and italic text
Underlined text
Highlighted text via HTML
Div and Span
This is a styled div container.
With colored span elements.
HTML Table
| Name | Type | Status |
|---|---|---|
| Feature A | Enhancement | ✅ Done |
| Feature B | Bug Fix | 🔄 In Progress |
Details and Summary
Click to expand
This is hidden content revealed by clicking the summary.
- Item 1
- Item 2
- Item 3
This is open by default
Content visible from the start.
Keyboard Input
Press Ctrl + C to copy.
Press Ctrl + Shift + P to open command palette.
Abbreviation and Definition
YN is a great markdown editor.
- Markdown
- A lightweight markup language
- Yank Note
- A feature-rich markdown editor
Figure and Figcaption
Colored Text
Red text Green text Blue text Purple text
Progress Bar
75%
Mixed HTML and Markdown
This is markdown inside an HTML div.
- List item 1
- List item 2
Code works here too.
Notes
- HTML rendering is controlled by
mdOptions.html(default:true) - In safe mode, certain tags and attributes are filtered
- Script tags are prevented for security
- HTML can be freely mixed with markdown content