Skip to content

Instantly share code, notes, and snippets.

@suzuki
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suzuki/10004544 to your computer and use it in GitHub Desktop.
Save suzuki/10004544 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<!-- (1) -->
<meta charset="UTF-8">
<style>
/* (2) */
h1 {
/* (3) */
font-weight: bold;
}
</style>
</head>
<body>
<h1>web-mode sample</h1>
<div>
{# (4) #}
{% if flag is true %}
<!-- (5) -->
<div>Here is true</div>
{% else %}
<div>Here is false</div>
{% endif %}
</div>
<script>
// (6)
function test() {
// (7)
return true;
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment