Brett on 08 Apr, 2021 06:58 PM
To put it bluntly, Marked's DOCX export is insufficient in many ways.
It's always been on my list to rebuild the whole engine, but somehow I
have not gotten around to it in the last decade.
Links don't work, images are hit and miss, document styles aren't
preserved... Marked is great at PDFs, but Word documents are a bit of a
hack. I would note that exporting to RTF does give you working links in
Pages, though I don't know how Word handles RTF files.
In short, my humblest apologies, this is a long-known issue.
Brett on 23 Jun, 2021 05:06 PM
Yeah, brew on M1 installs everything to /opt/homebrew. I always thought
it was safe to hardcode /usr/local because WHY WOULD THAT EVER CHANGE?
So I've been updating my own scripts to use `brew --prefix` but it's
harder with stuff like Services that have no guarantee that brew is
installed. I'll add some logic for that, I guess.
FYI, I symlinked /opt/homebrew/bin to /usr/local/bin. /usr/local is
supposed to be for x86 builds now, but I haven't suffered any
consequences from doing so, yet... at least all of my scripts with
hardcoded paths aren't complaining.