| 88 | } |
| 89 | |
| 90 | QString reprocessMarkdown(QByteArray markdown) |
| 91 | { |
| 92 | HoeDown hoedown; |
| 93 | QString output = hoedown.process(markdown); |
| 94 | |
| 95 | // HACK: easier than customizing hoedown |
| 96 | output.replace(QRegularExpression("GH-([0-9]+)"), "<a href=\"https://github.com/PolyMC/PolyMC/issues/\\1\">GH-\\1</a>"); |
| 97 | qDebug() << output; |
| 98 | return output; |
| 99 | } |
| 100 | |
| 101 | QString reprocessCommits(QByteArray json) |
| 102 | { |
no test coverage detected