Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal links vs. external links #33

Open
Oreolek opened this issue Sep 26, 2021 · 3 comments
Open

Internal links vs. external links #33

Oreolek opened this issue Sep 26, 2021 · 3 comments

Comments

@Oreolek
Copy link

Oreolek commented Sep 26, 2021

When I tried this plugin, it treated all internal links like external, linking to the wiki site instead of the corresponding page in the book. Is there a way to link to the section?

i.e.

<epub:Book>
[[dictionary|Dictionary]]
 [[word|Word]]
<epub>

dictionary.html:
[[word]]

epub:
word [1]
[1]: http://localhost/doku.php?id=word

I'm using the default dokuwiki template, release 2020-07-29, all links have the wikilink1 class.

@turnermm
Copy link
Owner

I the page is included in the ebook, it links directly to the ebook. Otherwise, it links to the wiki and the page in that wiki.

@Oreolek
Copy link
Author

Oreolek commented Sep 27, 2021

Well no it doesn't, that's my point.

@turnermm
Copy link
Owner

I'm afraid I can't investigate, then, something I can't reproduce. Attached is a demo of internal and external links. Has to be unzipped.
2021_september_27_08-58-35.zip
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants