Skip to content
Discussion options

You must be logged in to vote

Hello @ArtistYay,
depends on what you'd call more straightforward or modern, but following the chain of links you've provided I've found the answer from 2024:

By extending the "Markdown image links" the plugin allows for MkDocs to organically handle the relative path resolution.
The attributes are also set organically via attr_list.

The main difference is that the initial answer embedded the PDFs via object tag, and the plugin replaces the img tags with embed.
I've tried to find a clear answer for, what is better object or embed, but I could not find it. Both are valid.

Aside from that, the answer from 2021 see…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ArtistYay
Comment options

Answer selected by ArtistYay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants