Markdown to HTML


Based on:

https://marked.js.org/


Sample App:
https://visualneo.com/tutorials/neomarkdown



Description


The neoMarkdown plugin for VisualNEO Web allows developers to convert Markdown text to HTML, enabling easy formatting for content within applications. Based on the marked.js library, this plugin is useful for applications that require rich text formatting, such as blogs, notes, or documentation platforms. Here’s a breakdown of its primary features and practical applications:

Markdown to HTML Conversion

The neoMarkDown command converts Markdown syntax into HTML, allowing you to display formatted text, links, images, and more in a clean, readable structure.

    • Command: neoMarkDown
    • Syntax: neoMarkDown "markdowntext" [resultVar]
      • markdowntext: The Markdown code to convert.
      • resultVar: Variable where the generated HTML code will be stored.

Example:

neoMarkDown "# Welcome to My App" [formattedText]

This command converts the Markdown heading into HTML and stores it in formattedText for display in the app.

Formatting Capabilities

Markdown allows for a wide range of formatting options:

    • Headings: Created by using #, ##, ###, etc., for levels 1, 2, 3 headings.
    • Bold and Italics: Text wrapped in **bold** or _italic_.
    • Links: [Text](URL) for hyperlinks.
    • Lists: - or 1. for unordered or ordered lists.

Practical Applications

The neoMarkdown plugin is suitable for:

    • Content Management: Enabling users to create or edit articles, guides, or notes in Markdown.
    • User Input Formatting: Allowing formatted text input that is converted and displayed within apps.
    • Documentation and Help Sections: Presenting content with structure and style directly within the app.

This plugin is ideal for applications needing a simple, lightweight way to render structured text with basic formatting, making content creation straightforward for users and developers alike​​.

 

neoMarkDown

Category:

neoMarkDown

Syntax:

neoMarkDown "markdowntext" [resultVar]

 

markdowntext

MarkDown code

resultVar

Variable to store HTML code

Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with HelpNDoc's Clean and Efficient User Interface