how to include video in jekyll markdown blog explained me how to insert an iframe into a post. However, I'm using the iframe for a leaflet map. Unlike How to display a leaflet map in a single post in jekyll? I'm storing the map code in a separate location html file and am displaying the map within an iframe in my post. I'm hosting this on github so I can't use jekyll plugins.
I can get the map to display, but I don't understand how to make sure that the iframe fills the blog container in a way that is responsive to the browser window being resized. Is there a way to specify this only within the code for the blog post, or do I have to create my own css style like this blogpost