Skip to content

UMarkdown is a utility library for parsing and converting Markdown text into Unity compatible rich text and UI elements

License

Notifications You must be signed in to change notification settings

helightdev/UMarkdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UMarkdown GitHub Release Unity Version Docs

UMarkdown is a utility library for parsing and converting Markdown text into Unity compatible rich text and UI elements.

UMarkdown uses the widely used Markdig library for parsing Markdown syntax as well as ColorCode for syntax highlighting of code blocks (planned to be replaced in the future)

Installation

You can install UMarkdown via Unity Package Manager by adding the following Git URL: https://github.com/helightdev/UMarkdown.git?path=src/UMarkdown/Assets/Plugins/UMarkdown

You can also add the package manually to the manifest.json file located in the Packages folder of your Unity project:

{
  "dependencies": {
    "dev.helight.umarkdown": "https://github.com/helightdev/UMarkdown.git?path=src/UMarkdown/Assets/Plugins/UMarkdown"
  }
}

Usage

The MarkdownVisualElement(visible as MarkdownText in UXML) can be used to render Markdown content directly in Unity UI Toolkit. Alternatively, you can programmatically convert Markdown text into Unity rich text strings and VisualElements using the methods provided by UnityMarkdown.

For more details on both, please refer to the usage documentation.

License

UMarkdown is licensed under the MIT License. See the LICENSE file for more information.

About

UMarkdown is a utility library for parsing and converting Markdown text into Unity compatible rich text and UI elements

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages