Github Wikis allow you to embed HTML, but not all HTML tags are supported.
To embed supported HTML:
- Edit a wiki page.
- Ensure the edit mode is on "Markdown".
- Type the html directly into the main content area (there's no "code" view, like you often see in tools like Wordpress).
Which tags aren't supported?
I couldn't find documentation on this, but we have a few clues:
- Github wikis are built on a software tool called Gollum. We can see which tags are supported in Gollum by default here in the Gollum docs. Github may customize these defaults for their use-case, but I'll bet it's pretty similar.
- I went ahead and created a test wiki here with all the major visual html elements added to it (copied from Poor Man's Styleguide). It looks like the main tags that don't display are
iframe
, video
, audio
, and all of the various form inputs (textarea
, input
, select
, etc).