-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
HTML->zimwiki: links in headers are gone #6605
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
Comments
Could you point to some documentation which shows that this is allowed? I checked the ZimWiki writer sources, and it contains this code: blockToZimWiki opts (Header level _ inlines) = do
contents <- inlineListToZimWiki opts $ removeFormatting inlines -- emphasis, links etc. not allowed in headers
let eqs = T.replicate ( 7 - level ) "="
return $ eqs <> " " <> contents <> " " <> eqs <> "\n" So the removal of the link appears to be intentional. However, this is from 2016, so maybe things have changed? If you have access to resources which show how to deal with links in headers, please let us know. CC @alexivkin, who wrote the ZimWiki writer. |
Sadly, v0.72 ZimWiki still does not allow links in the header. There are no docs around what is and what is not, I had to read the python source code for Zim. Pinging @jaap-karssenberg in case he can help. |
Thanks! Closing for now, since this is not a pandoc issue. |
Latest version of zim *does* allow links in the header
…On Fri, Aug 28, 2020 at 1:55 PM Albert Krewinkel ***@***.***> wrote:
Closed #6605 <#6605>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6605 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJQYHWMFND7R2BRXITMNUTSC6LKBANCNFSM4PZNSCKA>
.
|
Thanks @jaap-karssenberg! Reopening... |
becomes
Supposed to be
The text was updated successfully, but these errors were encountered: