@page "/dev/creator-test" @using Microsoft.AspNetCore.Authorization @attribute [AllowAnonymous] Markdown Creator Test

Milkdown WYSIWYG Integration (Stage 1)

Verifying bi-directional Markdown flow and GFM rendering.

Retrieved Markdown Content

This block shows the content received from the editor when you click "Fetch Markdown Content".

@if (string.IsNullOrEmpty(_savedMarkdown)) { No content fetched yet. Click "Fetch Markdown Content" above to retrieve data. } else {
@_savedMarkdown
}
@code { private readonly string _initialMarkdown = @"# Milkdown WYSIWYG Test Page This is a demonstration of the **Milkdown** editor embedded inside a Blazor WASM component. ## GFM Features Support The editor supports Github Flavored Markdown out-of-the-box: 1. **Task Lists** - [x] Create reusable Blazor component - [x] Configure ESM dynamic wrapper - [ ] Implement stage 2 features 2. **Tables** | Feature | Stage 1 Status | Stage 2 Plan | | :--- | :---: | :---: | | WYSIWYG Mode | Active | Polish UI | | C# Interop | Done | Auto-Sync | | GFM Support | Verified | Custom Nodes | 3. **Code Formatting** ```csharp public class MarkdownEditor : ComponentBase { // C# interop logic } ``` Feel free to edit this text and click **Fetch Markdown Content** below!"; private string _savedMarkdown = string.Empty; private void HandleSave(string markdown) { _savedMarkdown = markdown; StateHasChanged(); } }