Skip to content

Parser for Markdown text input and a Hierarchical UI structure output

License

Notifications You must be signed in to change notification settings

Toine-db/MarkdownParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuget.png

MarkdownParser

MarkdownParser provides the ability to parse Markdown text in to a nested UI structure.

Install Plugin

NuGet

Available on NuGet.

Install with the dotnet CLI: dotnet add package MarkdownParser (or use your preferred NuGet Package Manager).

Roadmap

How it works

  1. CommonMark.NET is used to read Markdown and turn them into c# objects
  2. MarkdownParser creates a custom formatter to work with the created c# objects
  3. MarkdownParser creates a custom writer to control creation of ui components
  4. MarkdownParser creates a custom writer to call the IViewSupplier and manage the creation of UI components
  5. You need to create/provide an UI component generator (IViewSupplier), one for every platform.

If you need any help with creating a IViewSupplier? check out Plugin.Maui.MarkdownView.

Supported

Not (yet) Supported

The basic syntax created in the original Markdown design document provides enough elements for everyday use. However, over time, various extensions have been released to meet specific needs, sometimes using different syntaxes generating the same result. Examples markdown extended syntaxes on markdownguide extended-syntax page.

While MarkdownParser supports a small variety of extended syntaxes, it does NOT support the following widely used extended syntaxes:

  • ❌ Tables
  • ❌ Emoji Shortcodes
  • ❌ Highlights

The solution is replacing the package 'CommonMark.NET' by 'Markdig' (see Roadmap).

About

Parser for Markdown text input and a Hierarchical UI structure output

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages