Skip to content

Embedded iFrame figures #660

Discussion options

You must be logged in to vote

@brutaldigital you're right that using the existing system for including a table would be the way to go. In Quire, tables are held as individual HTML files and then added into the project with the figure shortcode. But Quire doesn't really know what HTML is in the file, and so it doesn't need to be a <table> but could instead be and <iframe> embed or anything else. So, if you save the embeds from those two example, you list them in the figures.yaml as you would normally, but with media_type: table and then insert them where you need them. I did a quick test and it worked pretty well, though you're probably going to want to add some CSS to optimize their display.

You also may want a fallba…

Replies: 1 comment 1 reply

Comment options

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

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