-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
The “denote” links in markdown exported files do not work #334
Comments
maikol-solis
changed the title
The “denote” links in exported files does not work
The “denote” links in markdown exported files do not work
Apr 27, 2024
From: Maikol Solís ***@***.***>
Date: Sat, 27 Apr 2024 10:28:03 -0700
Hi!
Hello and thank you for taking the time to report this!
Basically, I have this problem, I have searched for a solution, but I haven't found anything relevant.
I think this and the other issue you brought up make it clear that we
need a denote-markdown-extras.el to provide a few more tools for people
who use Denote with Markdown.
Imagine you have a markdown file with title `My first file` and signature `0a` with the link
```markdown
[0b My second file](denote:20240426T141754)
```
After exporting the first file with pandoc, I got this in the html
```html
<a href="denote:20240426T141754" target="_blank" rel="noopener">0b My second file</a>
```
of course, this link doesn't work. What I'm expecting is to have something like
The reason here is that Pandoc does not understand 'denote:' links,
which is to be expected.
```html
<a href="20240426T141754==0b--my-second-file.html">0b My second file</a>
```
My solution is to use #327 to change every link to classic markdown everywhere.
Yes, converting the links would work for the exported file.
However, I don't know if this has any side effects on the backlink
system or any denote's features.
I have not tested #327 yet---will do it as soon as possible.
I recently made some unrelated changes to the backlinking mechanism and
think either it will work or it is easy to make it work.
…--
Protesilaos Stavrou
https://protesilaos.com
|
Thanks. I'm willing to help test the new features for markdown files whenever you want. Best. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Basically, I have this problem, I have searched for a solution, but I haven't found anything relevant.
Imagine you have a markdown file with title
My first file
and signature0a
with the linkAfter exporting the first file with pandoc, I got this in the html
of course, this link doesn't work. What I'm expecting is to have something like
My solution is to use #327 to change every link to classic markdown everywhere.
However, I don't know if this has any side effects on the backlink system or any denote's features.
Best.
The text was updated successfully, but these errors were encountered: