Commit Graph
6 Commits
Author SHA1 Message Date
thzxx 71ddda1155 feat(site): add docs.html, update demo and index for v0.1.3
- docs.html: comprehensive single-page documentation with sidebar navigation
  covering all APIs, config, events, plugins, themes, i18n, and syntax reference
- demo.html: add readOnly toggle, emoji/new syntax demo content,
  imagePaste plugin, refresh API button, docs link
- index.html: add docs link to nav and footer
2026-07-23 21:08:12 +08:00
thzxx e3142a17a8 feat(site): replace text 'M' logo with SVG icon
- Replace plain 'M' character with stylized SVG M monogram
- SVG uses the same white stroke-on-gradient style as before
- Add .logo .logo-mark style for hero section (32px, larger)
- Remove font-specific styles from logo-mark (now SVG-based)
- Add flex-shrink:0 to prevent icon squishing
2026-07-23 20:18:53 +08:00
thzxx f080dcd1ff fix(site): add white-space:pre-wrap to code block for proper line formatting
Root cause: .code-block was missing white-space:pre-wrap, causing all
newlines and indentation to collapse into a single line in the browser.
Also collapse open/close tags to avoid leading/trailing blank lines.
2026-07-23 20:16:56 +08:00
thzxx 86beddf63d fix(site): format code block syntax highlighting and clarify logo mark
- Add .c-punc CSS class for punctuation coloring in code blocks
- Wrap all angle brackets, operators and delimiters in c-punc spans
- Add title/aria-label to logo-mark for accessibility and clarity
- Fix CDN path in code sample to match actual usage (../dist/...)
- Fix indentation consistency
2026-07-23 20:13:10 +08:00
thzxx 83357c3f22 docs: update npm package link to Gitea packages page 2026-07-23 18:04:31 +08:00
thzxx 22e867eda8 Initial commit: MetonaEditor v0.1.0 2026-07-23 16:23:07 +08:00