I would say that Marked 2 doesn’t read underscores, as in *_assets* correctly.
journal_entry: /Users/ge/Dropbox/arts-and-science/journal/2021/2021-01-16-blot-file-location-test.md
location of asset | location of obelix.png | served by | ||
---|---|---|---|---|
marked 2 | blot.im | both | ||
journal_entry | images/obelix.png | √ | √ | |
journal_entry | _assets/images/obelix.png | |||
journal_entry | _assets/obelix.png | |||
post_directory | images/obelix.png | √ | √ | |
post_directory | _assets/2021/01/16/images/obelix.png | √ | ||
post_directory | _assets/images/obelix.png | √ | ||
post_directory | _assets/obelix.png | √ |
As you can see, image files will be served from ./images/ directory by both Marked 2 and Blot.im.
The problem is that files in the ./images/ directory will be found and served by Blot.im, something that I don’t want to happen.
The problem with the *./_assets* directory is that Marked 2 messes with the underscore and can’t seem to find it. Backslash escapes don’t seem to help.
I conclude therefore that when moving posts from the journal to blot-im, I have to do two things:
Task #1 is relatively easy. Task #2 is relatively difficult.