How to display HTML content in github README.md?

后端 未结 3 729
攒了一身酷
攒了一身酷 2020-12-23 18:42

I am new to github, in README.md want to display a HTML content using an Iframe or something is this possible ?

What I have tried is I just create HTML

3条回答
  •  清酒与你
    2020-12-23 19:24

    As answered by mjgpy3, you can include html - no tags needed, but it'll be sanitized before display and the only tags allowed are in this whitelist.

    The list currently includes:

    h1 h2 h3 h4 h5 h6 h7 h8 br b i strong em a pre code img tt div ins del sup sub p ol ul table thead tbody tfoot blockquote dl dt dd kbd q samp var hr ruby rt rp li tr td th s strike summary details caption figure figcaption abbr bdo cite dfn mark small span time wbr

    but no iframe.

提交回复
热议问题