07-LiveTemplates/1-LiveTemplates/1.2-Html_templates.html (9 lines of code) (raw):
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<!-- Live Templates in HTML files
1. Go to ReSharper → Templates Explorer → Live Templates
2. Click the New Template toolbar button
3. Give the template a shortcut, e.g. "date"
4. Give the template a description, e.g. "Inserts current date and time"
5. Enter the text: <p>$DATE$</p>
6. In the parameters section on the right, select Choose Macro for the DATE parameter
Select Current date and time in the specified format, and set the format to "R" for RFC1123 format
7. Click Availability, and uncheck Everywhere. Select HTML along the top and check "Where a tag could be in HTML only"
8. Save the template
9. Type "date" below, and hit tab to expand to the current date and time
-->
</body>
</html>