The silent page awaits the waking dawn.
import type { LexicalContentProps } from '~/components/ui/rich-content/LexicalContent'export function renderArticle(props: LexicalContentProps) { return <LexicalContent {...props} />}export function renderArticle(props: LexicalContentProps) { return <LexicalContent {...props} />}const note = 'Lexical Markdown paste'console.log(note)
Lexical syntax coverage · local article
This is a real test article written into the local Core: it puts the full syntax coverage of the original Lexical showcase back inside a production article shell, so the page can serve as a regression check later on.
This fixture covers the Lexical base nodes, rich media nodes, and interactive nodes currently registered on the site; polls, dynamic components, and external media still go through the page's normal adapters, so real loading states can be checked.
1. Inline formatting
Inline text supports bold, italic, strikethrough, underline, and inline code inline code, plus links like
innei.in, or an autolink: https://github.com/Innei/Yohaku.
Ruby annotations in Japanese: 紅葉, 東京.
Social platform mentions: innei and @innei.
2. Headings and paragraphs
h3 subheading
A paragraph spread across several lines.
3. Lists and tasks
4. Code
5. Quotes and callouts
Tip: pnpm is faster than npm.
Important: you must sign in before using this feature.
Warning: this action cannot be undone.
Danger: modifying this may break the system.
Banner (note): shown purely as a visual accent.
Banner (tip): same type as alert, different layout.
Banner (important): reserved for essential items.
Banner (warning): a warning.
Banner (caution): a hazard.
6. Media
Single image:
Image grid:
Video:
Embed (YouTube):
Link card:
7. Tables and collapse
Node
Category
Notes
mermaid
block / decorator
Wired up to photo-viewer zoom
excalidraw
block / decorator
expand goes through PeekModal
nested-doc
block / decorator
Embeds a SerializedEditorState
Click to expand: the internal data for this node
The collapse node hides secondary content and starts with open=false.
It can hold any block-level node inside.
8. Diagrams and Turing machines
Mermaid flowchart:
Mermaid sequence diagram:
Excalidraw whiteboard:
9. Chat and polls
User · Agent conversation:
Single-choice poll:
10. Nested documents
A nested doc is a block holding its own SerializedEditorState; click to expand and read the full text.
Nested child document
This child document is itself a Lexical state containing paragraph, code, image, and other nodes. The code block below was pasted into Lexical with Markdown fenced syntax and is rendered on the front end by Shiki.
11. Additional layout and extended nodes
This section uses data from the backend Lexical exclusively, to verify common nodes such as images, code blocks, links, and long text.
The image uses a public URL already present in the site's test content, so it doesn't depend on a front-end fixture or a local relative path.
Code block:
Link:
Google
Markdown footnote sidenote test
Two references to start with — "reading progress rail"1 and "rich-format sidenotes"2 — to confirm that footnotes are generated from the Lexical content and moved to the left side on desktop.
A few more paragraphs follow so the sidenotes aren't bunched together. Each sidenote should track its reference, and on mobile it returns to the body flow. There's enough text here to observe the desktop layout.
Here's a mid-article reference3, used to check larger vertical spacing.
Another reference sits near the end of the article4 to confirm numbers increase in order of first reference.
The final paragraph adds a back-reference5, to check that the return arrow lands on the correct reference.