diff options
Diffstat (limited to 'src/app/launcher.js')
-rw-r--r-- | src/app/launcher.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/app/launcher.js b/src/app/launcher.js index e1dbbe0..919111f 100644 --- a/src/app/launcher.js +++ b/src/app/launcher.js @@ -31,12 +31,18 @@ function formatRelease(notes) { } else { for (let release of notes) { if (release.prerelease) {continue} - content += "# " + release.name + "\n\n" + release.body + "\n\n\n"; + let new_content = "# " + release.name + "\n\n" + release.body + "\n\n\n"; + content += + "<div class='release-block'>\n" + + markdown(new_content, {breaks: true}) + "\n" + + "</div>"; } content = content.replaceAll(/\@(\S+)/g, `<a href="https://github.com/$1">@$1</a>`); } + console.log(markdown(content, {breaks: true})) + return markdown(content, { breaks: true }); |