Skip to content

Internal Links are not working #97

@Diom

Description

@Diom

Issue:

Links to other sections of the wiki (not deep-linked) are not clickable in the generated PDF

image

To Reproduce:

Add a link to a wiki MD page:

I want to test if this [link](/Admin-Layout-and-Customization) works

Run the build (ctrl+f5)

Expected

Link to internal section of the PDF will work.

Actual

The text is styled as a link but does not work.

Example

Added the above to the test wiki in the repo and built the project. This was output in the console:

<div style='page-break-after: always;'><h1>Another Page</h1><a id="another-page">&nbsp;</a><h2 id="another-page-here">Another Page Here</h2>
<p>I want to test if this <a href="/Admin-Layout-and-Customization">link</a> works</p>
</div>
  html:
<h1>Admin Layout and Customization</h1><a id="admin-layout-and-customization">&nbsp;</a><h2 id="smileys">Smileys</h2>

Attached PDF the link does not work (I took out the images at the top of the page for clarity in the console

export.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions