chipsenkbeil / vimwiki-rs

Rust library and tooling to parse, render, and modify vimwiki text and files.
56 stars 2 forks source link

Standalone in-page anchor links point to index.html rather than current page on conversion #144

Closed brennen closed 3 years ago

brennen commented 3 years ago

On 8164b4bf.

This is in a vimwiki-scratchpad.wiki.

Input:

  - [[#stuff]]

Output:

<ul>
<li><p><a href="index.html#stuff">#stuff</a></p></li>
…

For context, I hardly ever write these by hand, but they show up pretty frequently in the table of contents generated with :VimwikiTOC.

chipsenkbeil commented 3 years ago

@brennen believe I've fixed this with the latest commit. Give it a whirl when you have time 😄

brennen commented 3 years ago

Confirmed fixed. :)