Available variables:
- documentTitle: document title
- documentMarkdown: document in Markdown format
- documentHTML: document in HTML format
- publishAttributes: attributes of the publish location
(undefined if not publishing)
Examples:
<title><%= documentTitle %></title>
<div><%- documentHTML %></div>
<%
if(publishAttributes.provider.providerId == "github")
print(documentMarkdown);
%>
More
info
Careful! Template is subject to malicious code. Don't copy/paste untrusted content.