VisualNEO Win Plugin Manual

neoMarkdown

Plugin ID:com.visualneo.neomarkdown
Version:1.0.2
Suite:VisualNEO Essentials (Free)
Category:Document / Markdown Viewer

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.

PropertyPurpose
Markdown TextMarkdown source displayed by the control.
Base Font SizeFont 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

  • neoMarkdownSetText replaces the Markdown displayed by a control.
  • neoMarkdownLoadFile loads a local Markdown or text file.
  • neoMarkdownGetText writes the current source to [neoMarkdownResult] and [ModernPluginResult].
  • neoMarkdownSetTheme requests a theme refresh. Native rendering continues to derive its colors from the current Style Palette.
  • neoMarkdownSetFontSize changes the base font size; use 0 to follow the palette.
  • neoMarkdownExportHTML writes 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.