从 openstreetmap 页面的“共享”选项卡中,我可以将地图视图导出为 HTML,例如:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=6.047544479370118%2C46.23053702499607%2C6.061706542968751%2C46.23821801159735&layer=mapnik" style="border: 1px solid black"></iframe>
<br/><small><a href="https://www.openstreetmap.org/#map=17/46.23438/6.05463">View Larger Map</a></small>
我想将这个嵌入到GitHub上的README.md页面中,例如。
搜索周围,最接近在markdown中嵌入iframe
的是GitLab指南。然后我尝试使用<figure class="video_container">
标签,但无论是在GitLab还是GitHub上都没有看到它能工作。
# how to find us?
we will be here:
<figure class="video_container">
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=6.047544479370118%2C46.23053702499607%2C6.061706542968751%2C46.23821801159735&layer=mapnik" style="border: 1px solid black"></iframe>
</figure>
我是否遗漏了什么,或者这是最好留给真正的HTML来完成并且超出了Markdown所能/应该做的范围?