zabouti |||

Blot locations test

1. Serving with Marked 2 from journal_entry

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

images/obelix.png works

images/obelix.png

_assets/obelix.png does not work

_assets/obelix.png

_assets/images/obelix.png does not work

_assets/images/obelix.png

2. Serving with Blot.im from post_file_to_be_created

images/obelix.png works

images/obelix.png

_assets/2021/01/16/images/obelix.png (works)

_assets/2021/01/16/images/obelix.png

_assets/images/obelix.png (works)

_assets/images/obelix.png

_assets/images/obelix.png (works)

_assets/images/obelix.png

_assets/obelix.png (works)

_assets/obelix.png

Conclusions

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:

  1. Move ./images/, ./jpg/, .pdf, etc. to the *_assets* folder in the post_directory
  2. Modify references to these assets in the Markdown files.

Task #1 is relatively easy. Task #2 is relatively difficult.

Up next The Solid Project obelix
Latest posts Vocabulary lesson Iris and I had an interesting discussion with Google Bard this morning. Discussion on the Pomona College class of 1964 listserv I’m illiterate Elon Musk I love photographing the artists at Wildacres Eating a Mouse It Really is a Fascist Flag (at least to some Americans) I love the New York Times Metropolitan Diary Watching The Ten Commandments in Gafsa, Tunisia, in the sixtes I wanna be like these guys when I’m their age! The insignificance of photography Enough photos from our trip to Japan MoveOn wants to amend the Constitution? Google Sheet Number Formatting Summer Brake Romantic technologies and ideologies PITY THE NATION Basho’s poem, Even in Kyoto War in Ukraine - an explanation Timothy Snyder’s History of Ukraine Fake Email Senders More on language learning Effect and Cause Soros is my Co-Pilot Note à une chère amie Arnold Schwarzenegger Why Purim upsets me I was a Programmer Who Swore Constantly I perceive new things as my nerves slow down