I see, thanks. I was trying to follow the instructions in the Readme file (“Start by using the slash command /local audio
or /local video
”), rather than /Embed
as you instructed in this thread. So I typed /loc and saw various things that looked like they might work, including versions for pdf and other documents.
Oh boy. I was missing so much background knowledge.
I spent several hours searching for an explanation of what the exclamation point was doing, but didn’t find anything, probably because I didn’t know how to search for it other than to google logseq "!"
or logseq bang
or logseq exclamation point
.
I just asked someone who is a computer scientist and they pointed out that the bang is a feature of markdown, used when you want an image to render.
I’m also starting to realize that the terms “link” and “embed” have different implications in logseq compared to in, say, powerpoint (where “link” means something like “display the page on the other end of the link”; and “embed” means “balloon the size of the file by saving the video file right in your document”).
If I want to be able to refer to a .docx in a block, without logseq copying it to the assets folder, what is the best way to do that? Do I use /loc docs
and then erase the added part of the pathname ../assets/..
? Or do I use /link
to get [label] (some-version-of-the-path)? Or since .md is just text anyway I could just type out [label] (some-version-of-the-path)?
I see that pdf files render nicely. I haven’t had any success rendering docx files, just opening them by clicking, so I assume that that isn’t supported?