Skip to content

Instantly share code, notes, and snippets.

@riethmayer
Created July 12, 2010 13:41
Show Gist options
  • Select an option

  • Save riethmayer/472469 to your computer and use it in GitHub Desktop.

Select an option

Save riethmayer/472469 to your computer and use it in GitHub Desktop.
yasnippet expand-env example
# -*- mode: snippet -*-
# name: html5 document
# key: html5
# binding: "keybinding"
# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't))
# --
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>$1</title>
</head>
<body>
$0
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment