Files
yn/test/md/html.md
T

2.7 KiB

HTML Support Test

This document tests raw HTML rendering in Yank Note.

Note

: HTML support requires html: true in 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

Placeholder
Figure 1: A placeholder image

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