在Markdown中并排显示Youtube视频和文字

在Markdown中并排显示Youtube视频和文字

本文介绍了在Markdown中并排显示Youtube视频和文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在右边有一些文字......

I would like to have some text like on the right...

##Features

* Feature 1
* Feature 2
* Feature 3

和a Youtube视频在左侧。如何正确地做到这一点?

and a Youtube video on the left. How to do it properly?

我尝试过的事情,不成功:

I tried things like this, unsucessfully:

| | |
|-|-|
|<iframe width="560" height="315" src="https://www.youtube.com/embed/vNp85kiMXK0" frameborder="0" allowfullscreen></iframe>|
##Features

* Feature 1
* Feature 2
* Feature 3
|






编辑



我也试过这个:


Edit

I also tried this:

<table>
<tr>
<td width="50%">
<iframe width="300" height="315" src="https://www.youtube.com/embed/vNp85kiMXK0" frameborder="0" allowfullscreen></iframe>
</td>
<td width="50%">
##Features
* Feature 1
* Feature 2
* Feature 3
</td>
</tr>
</table>

无法再在表格中使用Markdown :Markdown是没有被解析并且像普通文本一样由Parsedown呈现...

but then impossible to use Markdown in the table anymore: the Markdown is not parsed and is rendered by Parsedown like normal text...

推荐答案

Markdown是:

Markdown is deliberately simple:

它不包括对很多东西的支持,包括表¹和列。对于这样的事情,只需使用HTML:

It doesn't include support for lots of things, including tables¹ and columns. For things like this, simply use HTML:

¹一些Markdown实现为原始规范中没有的东西添加支持,表格是常见的一。这种支持没有很好地标准化,如果你想要一个特定于实现的解决方案,你必须指定你正在使用的实现。

¹Some Markdown implementations add support for things that aren't in the original spec, with tables being a common one. This support isn't well standardized, and you'll have to specify the implementation that you're using if you want an implementation-specific solution.

这篇关于在Markdown中并排显示Youtube视频和文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 11:40