21 lines
627 B
HTML
21 lines
627 B
HTML
Available variables:
|
|
<br>
|
|
<ul>
|
|
<li><b>documentTitle</b>: document title</li>
|
|
<li><b>documentMarkdown</b>: document in Markdown format</li>
|
|
<li><b>documentHTML</b>: document in HTML format</li>
|
|
<li><b>publishAttributes</b>: attributes of the publish location
|
|
(undefined when using "Save")</li>
|
|
</ul>
|
|
Examples:
|
|
<br />
|
|
<title><%= documentTitle %></title>
|
|
<br />
|
|
<div><%- documentHTML %></div>
|
|
<br />
|
|
<% if(publishAttributes.provider == "github")
|
|
print(documentMarkdown); %>
|
|
<br />
|
|
<br />
|
|
<a target="_blank" href="http://underscorejs.org/#template">More
|
|
info</a> |