creator.widgets.markdown

Markdown support

This is a port of https://github.com/juliettef/imgui_markdown which is under the zlib license!

Copyright (c) 2019 Juliette Foucaut and Doug Binks

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgement in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.

Members

Aliases

incMarkdownFormatCallback
alias incMarkdownFormatCallback = void function(ref MarkdownFormatInfo info, bool start)

Global callback for displaying tooltips

incMarkdownImageCallback
alias incMarkdownImageCallback = MarkdownImageData function(MarkdownLinkCallbackData data)

Global callback for opening image links

incMarkdownLinkCallback
alias incMarkdownLinkCallback = void function(MarkdownLinkCallbackData data)

Global callback for opening links

incMarkdownTooltipCallback
alias incMarkdownTooltipCallback = void function(MarkdownTooltipCallbackData data)

Global callback for displaying tooltips

Enums

MarkdownFormatType
enum MarkdownFormatType
Undocumented in source.

Functions

incMarkdown
void incMarkdown(string markdown, MarkdownConfig cfg)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

MarkdownConfig
struct MarkdownConfig
Undocumented in source.
MarkdownFormatInfo
struct MarkdownFormatInfo
Undocumented in source.
MarkdownHeadingFormat
struct MarkdownHeadingFormat
Undocumented in source.
MarkdownImageData
struct MarkdownImageData
Undocumented in source.
MarkdownLinkCallbackData
struct MarkdownLinkCallbackData
Undocumented in source.
MarkdownTooltipCallbackData
struct MarkdownTooltipCallbackData
Undocumented in source.

Meta