Embed a html file

How do I import a copy of my pdf into my logseq notes?

I have a form of the file in .pdf and .html.

so if it’s possible to import it as a pdf lmk how. If not lmk how to properly import the html file as an embed.

Thanks!

my end goal html embed : Html Embed

For local file insert in a block:

<iframe src="/path/to/file.pdf-or-file.html"></iframe>

For remote file:

<iframe src="http://example.com/"></iframe>

To adjust height:

<iframe src="http://example.com/" height="500px"></iframe>
3 Likes

Ok thank you.

So like this??

@@html: <iframe src="https://s3.amazonaws.com/999spot.com/DFEv1+Module+04+Data+Acquisition+and+Duplication.html" ></frame> @@

bc it’s not working for me, just a blank bullet after putting it in.

You wrote frame instead of iframe at the end.

Would this method work if a Logseq graph is launched on Github Pages? Thx

I don’t see why not. Just be careful with absolute links.

Can I use a local file in assets with relative indexing?