# Bug in the export to md process?

**URL:** <https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978>\
**Category:** Support\
**Created:** [5 January 2023 21:30 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978 "2023-01-05T21:30:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bushveld](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bushveld/32/23084_2.png) [@Bushveld](https://discourse.joplinapp.org/u/Bushveld)\
**Post date:** [5 January 2023 21:30 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/1 "2023-01-05T21:30:08Z")

</div>

Hello all,

I want to exporting parts of my notes for later reference. The export should be saved external of my active notes, I did some more testing. My favorite would be to simply export as md files and keep it on my filesystem.  
Unfortunately this seems to be buggy.

**Here is my input test files as view in joplin:**

 ![Bildschirmfoto vom 2023-01-05 09-21-46](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/9/9d1f1ddb46a4a4cca8358384714614c7b9d30076.png)

**After exporting to md I get the following result viewed in VSCode, and md viewer:**

 ![Bildschirmfoto vom 2023-01-05 09-22-51](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/c/c634dde41e63234135f80ad6620bcdc6f1e00ef7.png)

1. the referenced picture is not displayed thought the link in valid, when I export as html this picture is visible - what is the bug here?

2. the link in the source to a further markdown note in jolin is not followed and not resolved -\> I'd consider this a bug

What is the suggested solution to archive my initial goal:

- based on the above shown source
- simply export to a md file / folder structure, plus following the links
- do not lose data, keep everything viewable

Hope someone has suggestions, I might oversaw something?

Regrads,  
Michael

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [5 January 2023 21:32 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/2 "2023-01-05T21:32:47Z")

</div>

version?

---

<div class="post-metadata">

**Author:** ![Bushveld](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bushveld/32/23084_2.png) [@Bushveld](https://discourse.joplinapp.org/u/Bushveld)\
**Post date:** [5 January 2023 21:38 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/3 "2023-01-05T21:38:26Z")

</div>

Ups, sorry 2.10.4 AppImage, Ubuntu 22.04

---

<div class="post-metadata">

**Author:** ![Bushveld](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bushveld/32/23084_2.png) [@Bushveld](https://discourse.joplinapp.org/u/Bushveld)\
**Post date:** [6 January 2023 22:56 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/4 "2023-01-06T22:56:37Z")

</div>

Hello Laurent, have you been able to reproduce the issue?

---

<div class="post-metadata">

**Author:** ![Bushveld](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bushveld/32/23084_2.png) [@Bushveld](https://discourse.joplinapp.org/u/Bushveld)\
**Post date:** [11 January 2023 19:39 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/5 "2023-01-11T19:39:56Z")

</div>

Hello,  
is there anyone else having this issue? @laurent would it be helpful to file a bug in the git repro?  
Is there anything I can do to support?  
Regards,  
Michael

---

<div class="post-metadata">

**Author:** ![graphit0](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/graphit0/32/3435_2.png) [@graphit0](https://discourse.joplinapp.org/u/graphit0)\
**Post date:** [11 January 2023 22:14 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/6 "2023-01-11T22:14:05Z")

</div>

Hi there,

First of all, 2.10.4 is beta version, thank you for testing it

Secondly, I tested export of notes in md (both regular and \*+ front matter) on my environment with images and opened the export with Okular viewer - the images appeared just fine

So, let's try to find the app state allowing to reproduce the behavior

- What md viewer are you using?
- Could you try the export on a different, clean user of the same environment?
- Does safe mode makes any change?
  - If so, could you share the list of plugins you use?

- Does the behaviour happen with any note/image or only with particular?
- Could you share the sample causing it in .jex format?

My environment

Operating System: Kubuntu 22.04  
KDE Plasma Version: 5.24.7  
KDE Frameworks Version: 5.92.0  
Qt Version: 5.15.3  
Kernel Version: 5.15.0-57-generic (64-bit)  
Graphics Platform: X11  
Processors: 4 × Intel® Core™ i3 CPU M 370 @ 2.40GHz  
Memory: 7,6 GiB of RAM  
Graphics Processor: AMD REDWOOD

---

<div class="post-metadata">

**Author:** ![joochlee](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joochlee/32/22270_2.png) [@joochlee](https://discourse.joplinapp.org/u/joochlee)\
**Post date:** [12 January 2023 02:06 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/7 "2023-01-12T02:06:44Z")

</div>

HI,

AFAIK VSCode does not show images which are not placed in the sub directory of one where md file exists because of security reason.

please see [this](https://stackoverflow.com/questions/72516112/images-in-markdown)

---

<div class="post-metadata">

**Author:** ![Bushveld](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bushveld/32/23084_2.png) [@Bushveld](https://discourse.joplinapp.org/u/Bushveld)\
**Post date:** [13 January 2023 09:37 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/8 "2023-01-13T09:37:53Z")

</div>

Hello,

it was actually not only a VSCode issue. I tried several viewers, at the end your hint made me search again I ended up with ghostwriter, who

- shows the images which are not in the same folder
- follows markdown links
- shows KaTex and Chem

This is ok for me.

$TOC or html is not working in the viewer e.g. → for a nice arrow.  
Or Mermaid diagrams.

Thanks a lot!  
Michael

---

<div class="post-metadata">

**Author:** ![joochlee](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joochlee/32/22270_2.png) [@joochlee](https://discourse.joplinapp.org/u/joochlee)\
**Post date:** [13 January 2023 09:45 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/9 "2023-01-13T09:45:50Z")

</div>

Hi,

Have you tried **obsidian**?

If you export all notes as `MD + front Matter` and copy those export folders into obsidian folder, then you can access all notes immediately (of course all images are shown) !

---

<div class="post-metadata">

**Author:** ![Bushveld](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bushveld/32/23084_2.png) [@Bushveld](https://discourse.joplinapp.org/u/Bushveld)\
**Post date:** [13 January 2023 12:30 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/10 "2023-01-13T12:30:37Z")

</div>

Will check that, it is long time back that I used it.  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [12 February 2023 12:30 UTC](https://discourse.joplinapp.org/t/bug-in-the-export-to-md-process/28978/11 "2023-02-12T12:30:57Z")

</div>

Closed on 12 February 2023 12:30 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
