diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/blog.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/blog.js b/scripts/blog.js index 8f36fdb..65fc02e 100644 --- a/scripts/blog.js +++ b/scripts/blog.js @@ -110,6 +110,7 @@ function loadPost(n) { var result = md.render(data); result = result.replaceAll("<a", `<a class="link"`); + result = result.replaceAll("<img", `<img style="max-width: 100%;"`); content.innerHTML = result; }).then(() => addNodes()); }); |