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
Change the :storage* links to attachments #2937
Conversation
@CedricHerzog can you fix the conflict? |
Any news? |
@CedricHerzog This is a duplicate of #2897 to be sure. It's implemented differently, yes, but they are addressing the same issue. |
any update on this? this broken link is very annoying when I want to export a few folder of markdown.. Would appreciate if this can be fixed. |
As a quick fix to export markdown for other usage, I use this script to copy the storage and convert the notes to markdown. https://gist.github.com/noklam/08d7afd25dd6e15b0208c3b782ebebfc |
The main reviewers are currently very busy so it might take some time for PRs to be reviewed. |
Some time OK, but 8 months is a bit long. |
Close because it's a duplicate of #2897 |
Description
The HTML export creates a folder "attachements" with all the files linked to the Boostnote .md file.
However the links created in the .html file do not point to this "attachements" folder and keep using ":storage/.." representation as used in the Boostnote .md file.
This request changes the links in the HTML export from
:storage/12323-2133123-21312323-123323/file.extension
toattachments/file.extension
.Works on windows if folders separated by "%".
I uses a simple regex
:storage(\/|%)[a-zA-Z0-9-]*
and replaces it by "attachements".Issue fixed
Type of changes
Checklist: