Skip to content

Instantly share code, notes, and snippets.

@oaustegard
Last active Dec 21, 2022
Embed
What would you like to do?
htmlpreview of gist
<html><head><title>Hello from gist.github.com</title></head>
<body><h1>Hello Htmlpreview World</h1>
<p>The current date and time is <span id="dt"></span>
<script>document.getElementById("dt").innerText = new Date(Date.now()).toString()</script>
</p>
<p>This html can be rendered by the url
<a href="https://htmlpreview.github.io/?gist.githubusercontent.com/oaustegard/a1902d995b5c6157a9eaf69afa355723/raw/helloworld.html"
target="_blank">https://htmlpreview.github.io/?gist.githubusercontent.com/oaustegard/a1902d995b5c6157a9eaf69afa355723/raw/helloworld.html</a>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment