Stackedit/js/html/settingsTemplateTooltip.html

21 lines
627 B
HTML
Raw Normal View History

2013-06-10 21:22:32 +00:00
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 />
&lt;title&gt;&lt;%= documentTitle %&gt;&lt;&#x2F;title&gt;
<br />
&lt;div&gt;&lt;%- documentHTML %&gt;&lt;&#x2F;div&gt;
<br />
&lt;% if(publishAttributes.provider == &quot;github&quot;)
print(documentMarkdown); %&gt;
<br />
<br />
<a target="_blank" href="http://underscorejs.org/#template">More
info</a>