<p>I installed geany-plugins, and activated mardown plugin.<br>
When I create an <code>.md</code> doc like this:</p>
<pre><code># Test of TOC

**Contents**

1. [Introduction](#Introduction)
2. [Installation](#Installation)


# Introduction


asd;lfk asdklf ja;sldkfj a;ldfk j

(a full page like this) 


# Installation

asd;lfk asdklf ja;sldkfj a;ldfk j

(a full page like this) 

</code></pre>
<p>Then, in the side pane with Mardown Preview, the links in the table of contents do not work.<br>
(In my tests ,there were many pages of text in each section, to make sure it would navigate down if  the links in TOC work to work)<br>
If I generate the <code>html</code> with <code>menu/tools/Export Markdown as Html...</code>, I get this: ( I did not change the template or any of the settings for Markdown plugin)</p>
<div class="highlight highlight-text-html-basic"><pre><<span class="pl-ent">html</span>>
  <<span class="pl-ent">head</span>>
    <<span class="pl-ent">style</span> <span class="pl-e">type</span>=<span class="pl-s"><span class="pl-pds">"</span>text/css<span class="pl-pds">"</span></span>><span class="pl-s1"></span>
<span class="pl-s1">      <span class="pl-ent">body</span> {</span>
<span class="pl-s1">        <span class="pl-c1"><span class="pl-c1">font-family</span></span>: <span class="pl-c1">Serif</span>;</span>
<span class="pl-s1">        <span class="pl-c1"><span class="pl-c1">font-size</span></span>: <span class="pl-c1">12<span class="pl-k">pt</span></span>;</span>
<span class="pl-s1">        <span class="pl-c1"><span class="pl-c1">background-color</span></span>: <span class="pl-c1">#ffffff</span>;</span>
<span class="pl-s1">        <span class="pl-c1"><span class="pl-c1">color</span></span>: <span class="pl-c1">#000000</span>;</span>
<span class="pl-s1">      }</span>
<span class="pl-s1">      <span class="pl-ent">code</span> {</span>
<span class="pl-s1">        <span class="pl-c1"><span class="pl-c1">font-family</span></span>: Mono;</span>
<span class="pl-s1">        <span class="pl-c1"><span class="pl-c1">font-size</span></span>: <span class="pl-c1">12<span class="pl-k">pt</span></span>;</span>
<span class="pl-s1">      }</span>
<span class="pl-s1">    </span><span class="pl-s1"><</span>/<span class="pl-ent">style</span>>
  </<span class="pl-ent">head</span>>
  <<span class="pl-ent">body</span>>
    <<span class="pl-ent">h1</span>>Test of TOC</<span class="pl-ent">h1</span>>

<<span class="pl-ent">p</span>><<span class="pl-ent">strong</span>>Contents</<span class="pl-ent">strong</span>></<span class="pl-ent">p</span>>

<<span class="pl-ent">ol</span>>
<<span class="pl-ent">li</span>><<span class="pl-ent">a</span> <span class="pl-e">href</span>=<span class="pl-s"><span class="pl-pds">"</span>#Introduction<span class="pl-pds">"</span></span>>Introduction</<span class="pl-ent">a</span>></<span class="pl-ent">li</span>>
<<span class="pl-ent">li</span>><<span class="pl-ent">a</span> <span class="pl-e">href</span>=<span class="pl-s"><span class="pl-pds">"</span>#Installation<span class="pl-pds">"</span></span>>Installation</<span class="pl-ent">a</span>></<span class="pl-ent">li</span>>
</<span class="pl-ent">ol</span>>

<<span class="pl-ent">h1</span>>Introduction</<span class="pl-ent">h1</span>>

<<span class="pl-ent">p</span>>asd;lfk asdklf ja;sldkfj a;ldfk j</<span class="pl-ent">p</span>>

<<span class="pl-ent">p</span>>(a full page like this)</<span class="pl-ent">p</span>>


<<span class="pl-ent">h1</span>>Installation</<span class="pl-ent">h1</span>>

<<span class="pl-ent">p</span>>asd;lfk asdklf ja;sldkfj a;ldfk j</<span class="pl-ent">p</span>>

<<span class="pl-ent">p</span>>(a full page like this)</<span class="pl-ent">p</span>>

  </<span class="pl-ent">body</span>>
</<span class="pl-ent">html</span>></pre></div>
<p>When I open this in a browser (Chrome), the links in TOC don't work either.<br>
If I edit the html so that to have a</p>
<div class="highlight highlight-text-html-basic"><pre><<span class="pl-ent">a</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>Introduction<span class="pl-pds">"</span></span>></<span class="pl-ent">a</span>></pre></div>
<p>besides</p>
<div class="highlight highlight-text-html-basic"><pre><<span class="pl-ent">h1</span>>Installation</<span class="pl-ent">h1</span>></pre></div>
<p>then the links work, as expected.</p>
<p>So: is it a problem with my installation, or ...?</p>
<p>It's on Windows 7; I installed the plugins from <a href="https://plugins.geany.org/downloads.html" rel="nofollow">https://plugins.geany.org/downloads.html</a></p>
<pre><code>19:22:24: Geany INFO             : GTK 2.24.32, GLib 2.54.3
19:22:24: Geany INFO            : System data dir: C:\Program Files\Geany\data
19:22:24: Geany INFO            : User config dir: C:\Users\Admin\AppData\Roaming\geany
19:22:25: Geany INFO            : System plugin path: C:\Program Files\Geany\lib\geany
</code></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/issues/771">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ-ydTRd6KQitKsrvWO_IQdd3OQOhks5uZILCgaJpZM4WgHkb">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJw99BL1KLT9MHjDKbXjf4YPCSyqIks5uZILCgaJpZM4WgHkb.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"markdown: in html, generated TOC has dead links (#771)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-plugins/issues/771"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/771",
"url": "https://github.com/geany/geany-plugins/issues/771",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "markdown: in html, generated TOC has dead links (#771)",
"sections": [
{
"text": "",
"activityTitle": "**VictorelPetrovich**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@VictorelPetrovich",
"facts": [
{
"name": "Repository: ",
"value": "geany/geany-plugins"
},
{
"name": "Issue #: ",
"value": 771
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany-plugins\",\n\"issueId\": 771,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany-plugins\",\n\"issueId\": 771\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany-plugins/issues/771"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377518363\n}"
}
],
"themeColor": "26292E"
}
]</script>