Skip to content

Commit

Permalink
Add link to github issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Aug 22, 2023
1 parent acdd9ae commit eca532d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,10 @@ <h2>Our next hangout is still brewing!</h2>
.then((r) => r.json())
.then((response) => {
console.log(response);
let html = marked.parse(response[0].body);
const { body, html_url } = response[0];
let html = marked.parse(body);
html = html.replace(/<(\/?)h1>/g, '<$1h3>');
$nextMeetup.innerHTML = `<h2>Upcoming!</h2>` + html;
$nextMeetup.innerHTML =
`<h2><a href="${html_url}">Upcoming ⬇️</a></h2>` + html;
});
</script>

0 comments on commit eca532d

Please sign in to comment.