neoMarkdown is a native Markdown document viewer for VisualNEO Win. It renders formatted text with GDI, follows the VisualNEO Style Palette, supports vertical scrolling, detects links, and exports Markdown as a self-contained HTML document.
Installation
Install the com.visualneo.neomarkdown.vnplugin folder through the VisualNEO Win plugin manager. The package includes the 32-bit Delphi module required by VisualNEO Win.
Control
Add neoMarkdown Display from the tool palette.
| Property | Purpose |
|---|---|
| Markdown Text | Markdown source displayed by the control. |
| Base Font Size | Font size in points. Use 0 to follow the Style Palette. |
The Style Palette supplies the background, rule, font family, font size, font color, and font styles. The viewer automatically derives readable heading, link, code, and quote colors from the selected palette.
Supported Markdown
- Headings from
#through######. - Paragraphs and automatic word wrapping.
- Bold, italic, strikethrough, and inline code.
- Fenced code blocks.
- Ordered and unordered lists.
- Blockquotes and horizontal rules.
- Links in
[label](url)form.
Spaces around inline formatting are preserved. Inline code is aligned to the surrounding text baseline even though it uses the Consolas typeface.
Actions
neoMarkdownSetTextreplaces the Markdown displayed by a control.neoMarkdownLoadFileloads a local Markdown or text file.neoMarkdownGetTextwrites the current source to[neoMarkdownResult]and[ModernPluginResult].neoMarkdownSetThemerequests a theme refresh. Native rendering continues to derive its colors from the current Style Palette.neoMarkdownSetFontSizechanges the base font size; use0to follow the palette.neoMarkdownExportHTMLwrites supplied Markdown to a self-contained HTML file.
Events
Markdown Link Clicked fires when the user selects a rendered link. Its payload contains the link url and visible text.
Runtime Notes
Use the mouse wheel or vertical scrollbar to move through documents taller than the control. Files are read as UTF-8 when possible, with the current Windows encoding as fallback.
License
The plugin source is intended for use with the VisualNEO Win Modern Plugin SDK and introduces no third-party runtime dependency.