在markdown使用html

· ☕ 1 分钟 · 👻 Victor
🏷️
  • #markdown
  • #html
  • 在markdown文件中嵌入html代码.🛶

    使用自定义文字样式

    输入代码:

    1
    
    <span style="font-size:2rem; background:yellow;">**Bigger**</span>
    

    Bigger

    设置键盘按键

    输入代码:

    1
    
    <kbd>Ctrl</kbd>+<kbd>F9</kbd>
    

    Ctrl+F9

    其他网站摘录的html

    1
    
    <blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sunsets don&#39;t get much better than this one over <a href="https://twitter.com/GrandTetonNPS?ref_src=twsrc%5Etfw">@GrandTetonNPS</a>. <a href="https://twitter.com/hashtag/nature?src=hash&amp;ref_src=twsrc%5Etfw">#nature</a> <a href="https://twitter.com/hashtag/sunset?src=hash&amp;ref_src=twsrc%5Etfw">#sunset</a> <a href="http://t.co/YuKy2rcjyU">pic.twitter.com/YuKy2rcjyU</a></p>&mdash; US Department of the Interior (@Interior) <a href="https://twitter.com/Interior/status/463440424141459456?ref_src=twsrc%5Etfw">May 5, 2014</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
    
    分享

    redisread
    作者
    Victor
    Full Stack