GitHub, Markdown, and HTML - treenabalds/How-To GitHub Wiki
NB: This didn't actually work for me, but I might have done it wrong.
Yes, GitHub does support HTML within Markdown files! You can use basic HTML tags alongside Markdown syntax to enhance your content. This is particularly useful for adding features like colored text, tables with custom styling, or other elements that aren't natively supported in Markdown. For example:
# Markdown with HTML Example
This is **Markdown text**.
<span style="color:blue;">This is blue text using HTML!</span>
-
Basic HTML is Supported: Elements like
<span>
,<div>
,<table>
, and<img>
generally work fine. -
Restricted HTML: Some advanced HTML tags or attributes (e.g.,
<script>
for JavaScript) are not supported for security reasons. - HTML and Markdown Coexist: You can mix both formats seamlessly, but be cautious about maintaining readability and compatibility.
If you'd like to explore specific use cases or best practices, let me know! 😊