在markdown中使用html

使用镜像:

<iframe src="" width="800" height="600"></iframe>
<embed src="" width="800px" height="600px">
推荐使用第二种,第二种渲染的更加丰富!!!

使用字体

<!-- 在-----中替换文本--!>
<link href="-----" rel="stylesheet">
<h2 style="font-family:-----,normal;font-size:-----px;color:-----" <h2> Love You </h2>
Love You

注释

<!-- html注释 -->

基本语法

<b>加粗</b>
<strong>加粗</strong>
<i>倾斜</i>.
<em>倾斜</em>
<u>下划线</u>
<ins>下划线</ins>
<s>删除线</s>
<del>删除线</del>

加粗
加粗
倾斜
倾斜
下划线
下划线
删除线
删除线

音频

<div class="video">
<iframe src="地址" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</div>

视频

<div class="music">
<iframe src="地址" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</div>

代码折叠

<details>
<summary>摘要</summary>
<pre>
<code class="language-cpp hljs">代码
</code>
</pre>
</details>
原文地址:https://www.cnblogs.com/hellohhy/p/13197571.html