01 / Writing modes
Markdown Editor
A calm Markdown editor for writing, previewing, and managing drafts inside a disciplined Windows interface.
Sermon is a Windows Markdown editor built with WPF and .NET 10. It favors clear grids, black-white-gray hierarchy, red structural emphasis, low-decoration controls, and readable typography for technical documents, blog drafts, sermon notes, and daily writing.
Repository
/home/lry/Projects/CsRepo/Sermon
Technical Stack
02 / File workflow
The editor treats document management as part of the writing surface.
New, open, save, save as, folder browsing, tree navigation, multi-tab editing, unsaved-state indicators, and two-minute autosave create a practical local writing workflow instead of a single-buffer text box.03 / Desktop architecture
WPF, AvalonEdit, Markdig, and WebView2 split the editor into reliable desktop responsibilities.
AvalonEdit handles text editing and Markdown syntax color, Markdig converts Markdown into HTML, WebView2 renders the preview, MahApps.Metro supplies the window frame and Material icons, and RelayCommand keeps toolbar and shortcut actions bound to UI state.
What I Built
Supports standard Markdown and extended syntax including tables, code blocks, and strikethrough.
Includes formatting buttons, Ctrl+B, Ctrl+I, Ctrl+F, Ctrl+H, and common file shortcuts.
Shows word count and cursor position in a restrained low-contrast status bar.
Targets Windows 10/11 with .NET Desktop Runtime and WebView2 Runtime.
Provides both framework-dependent and self-contained win-x64 publish paths.