MCPcopy Create free account
hub / github.com/MultiMC/Launcher / reprocessMarkdown

Function reprocessMarkdown

launcher/ui/dialogs/UpdateDialog.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55QString reprocessMarkdown(QByteArray markdown)
56{
57 HoeDown hoedown;
58 QString output = hoedown.process(markdown);
59
60 // HACK: easier than customizing hoedown
61 output.replace(QRegExp("GH-([0-9]+)"), "<a href=\"https://github.com/MultiMC/Launcher/issues/\\1\">GH-\\1</a>");
62 qDebug() << output;
63 return output;
64}
65
66QString reprocessCommits(QByteArray json)
67{

Callers 1

changelogLoadedMethod · 0.85

Calls 2

processMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected