是否有纯粹的Markdown方法在Jupyter中并排包含两个图像? [英] Is there a pure Markdown way to include two images side by side in Jupyter?
本文介绍了是否有纯粹的Markdown方法在Jupyter中并排包含两个图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
There is a useful Python solution here to put two images side by side in the notebook, but is there a language agnostic way that does the trick using only Jupyter's own markdown? Something like
![](path/to/image1) # insert magic here # ![](path/to/image2)
可以并排显示图像吗?
在我的情况下这将很有用,因为我不想将markdown单元分成两个并在它们之间放置代码,但是如果笔记本未运行Python,我也会发现这很有用.我亲自经营过茱莉亚很多.
This would be useful in my case cause I would prefer not to break a markdown cell into two and put code in between, but I also would find this helpful in case the notebook is not running Python. I personally run Julia quite a lot.
推荐答案
可能的解决方案是使用具有相同align
属性的img
标签:
A possible solution would be using img
tags with the same align
attribute:
<img src="path/to/image1" align="left"/><img src="path/to/image2" align="left"/>
这篇关于是否有纯粹的Markdown方法在Jupyter中并排包含两个图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文