<p></p>
<p><b>@b4n</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/1064#discussion_r574031010">markdown/src/plugin.c</a>:</p>
<pre style='color:#555'>> @@ -192,7 +193,7 @@ static gboolean on_editor_notify(GObject *obj, GeanyEditor *editor,
   SCNotification *notif, MarkdownViewer *viewer)
 {
   if (IS_MOD_NOTIF(notif)) {
-    update_markdown_viewer(viewer);
+    update_markdown_viewer(viewer, NULL);
</pre>

⬇️ Suggested change
<pre style="color: #555">-    update_markdown_viewer(viewer, NULL);
+    update_markdown_viewer(viewer, editor->document);
</pre>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/1064#pullrequestreview-587994423">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6FADILFH4GETXILCLS6LQMHANCNFSM4XLLJVAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6GA2ONXL626MRHJ53S6LQMHA5CNFSM4XLLJVAKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEMGBKNY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/1064#pullrequestreview-587994423",
"url": "https://github.com/geany/geany-plugins/pull/1064#pullrequestreview-587994423",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>