Skip to content

Instantly share code, notes, and snippets.

@thatisuday
Last active March 22, 2018 19:11
Show Gist options
  • Save thatisuday/ffbcb3f1c5e3162a46a1cc8464c4557b to your computer and use it in GitHub Desktop.
Save thatisuday/ffbcb3f1c5e3162a46a1cc8464c4557b to your computer and use it in GitHub Desktop.
<p>I am inline text</p>
<p>I am literal html code </p>
<p>
Hello World!
I am Pug, your buddy to write simple HTML templates.<em>Let's explore the world, shall we?</em>Very nice to meet you :)
</p>
<p>
Hello World!
I am Pug, your buddy to write simple HTML templates.
<em>Let's explore the world, shall we?</em>
Very nice to meet you :)
</p>
<script>
if(window.navigator.geolocation){
console.log("Geolocation available!")
}
else{
console.warn("Geolocation not available!")
}
</script>
<style type="text/css">
html, body{
padding: 0;
margin: 0;
}
</style>
<div>
<p>Hello World! I am in a paragraph. I am optional here :(</p>Hey there!
I am in a block but in `div` tag.
Because, dot without a tag will put me in parent tag.
</div>
<p><b>Hi there! I am <strong>John Doe</strong>.</b></p>
<p><b>Hi there! I am inline <strong>John Doe</strong>.</b></p>
<double-break/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment