You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Bangle references an asset (an image for example), it uses absolute paths with respect to the workspace (e.g. ![](/assets/images/image.png]). This breaks other markdown tools' ability to interpret paths to images. The way bangle creates and references assets, those links are broken, thereby preventing other tools from interoperating with Bangle.
To resolve this issue, Bangle should use relative paths when referencing images and other assets. For example, a file in a subdirectory one level deep from the root of the workspace (e.g subdirectory1/example.md) that references an image, should use the relative directory path like so ![](../assets/images/image.png] (note the two periods before the path statement).
The text was updated successfully, but these errors were encountered:
kepta
transferred this issue from bangle-io/bangle-editor
Nov 21, 2021
The problem with using relative path is that it makes moving files around harder. I will look into providing a setting to allow relative assets paths to address this.
When Bangle references an asset (an image for example), it uses absolute paths with respect to the workspace (e.g.
![](/assets/images/image.png]
). This breaks other markdown tools' ability to interpret paths to images. The way bangle creates and references assets, those links are broken, thereby preventing other tools from interoperating with Bangle.To resolve this issue, Bangle should use relative paths when referencing images and other assets. For example, a file in a subdirectory one level deep from the root of the workspace (e.g
subdirectory1/example.md
) that references an image, should use the relative directory path like so![](../assets/images/image.png]
(note the two periods before the path statement).The text was updated successfully, but these errors were encountered: