Add image viewing in blog entries

This commit is contained in:
Corentin 2021-10-07 14:03:02 +09:00
commit a0f93ae9c3
5 changed files with 55 additions and 5 deletions

View file

@ -36,7 +36,7 @@ renderer.image = (href, title, text) => {
{
out += ' title="' + text + '"';
}
out += '/>';
out += ' onclick="open_image(\'' + href + '\')" />';
return out;
}