Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display HTML content in github README.md?

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 tags other then anchor, that is not working.

like image 303
BalaKrishnan웃 Avatar asked Feb 19 '13 06:02

BalaKrishnan웃


People also ask

Can I put HTML in MD?

You can add html inside markdown files in /content. However your indented code will follow markdown formatting. You could also save your content files as .

Can markdown render HTML?

Use the Markdown application to convert the Markdown file to an HTML document. View the HTML file in a web browser or use the Markdown application to convert it to another file format, like PDF.

How do you show MD in HTML?

The first step to convert Markdown to HTML is to open your Markdown document in Atom. Then toggle the Markdown preview by pressing the CTRL+SHIFT+M keyboard shortcut. Another way to toggle the Markdown preview is from Packages —> Markdown Preview —> Toggle Preview.

How do I add HTML to GitHub page?

Make a new, empty GitHub repository and fill out some information about your repository (make sure you are logged in to GitHub or made a GitHub account already!) Once you have created the repository, click "uploading an existing file" Drag & drop your HTML & CSS files or choose your HTML/CSS files manually.


1 Answers

Github's markdown interpreter can include HTML. However, there is only so much you can do in HTML. I would suggest checking out this article which provides more information on what tags can be used. Personally, I have never used much more than line-breaks, horizontal rules, etc... Unfortunately, I don't see Iframes mentioned in the article.

like image 151
mjgpy3 Avatar answered Oct 03 '22 05:10

mjgpy3