You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: imgui_markdown.h
+40-60Lines changed: 40 additions & 60 deletions
Original file line number
Diff line number
Diff line change
@@ -227,6 +227,18 @@ ___
227
227
228
228
#include<stdint.h>
229
229
230
+
typedefint ImGuiMarkdownFormatFlags;
231
+
232
+
enum ImGuiMarkdownFormatFlags_
233
+
{
234
+
ImGuiMarkdownFormatFlags_None = 0,
235
+
ImGuiMarkdownFormatFlags_DiscardExtraNewLines = 1 << 0, // (Accurate parsing) Provided markdown will discard all redundant newlines
236
+
ImGuiMarkdownFormatFlags_NoNewLineIfHeadingFirstLine = 1 << 1, // (Accurate parsing) Provided markdown will not format a newline after the first line if it is a heading
237
+
ImGuiMarkdownFormatFlags_SeperatorDoesNotAdvance = 1 << 2, // (Accurate parsing) Provided markdown will not advance to the next line after formatting a seperator
bool useComplexFormatting = false; //Set this to true to enable complex Markdown formatting (accurate to GitHub etc.). By default imgui_markdown uses psuedo-Markdown for backwards compatibility.
339
+
MarkdownImageCallback* imageCallback = NULL;
340
+
constchar* linkIcon = ""; // icon displayd in link tooltip
ImGuiMarkdownFormatFlags formatFlags = ImGuiMarkdownFormatFlags_None; //Configure this to change how Markdown gets formatted. By default imgui_markdown uses psuedo-Markdown for backwards compatibility.
0 commit comments