User Tools

Site Tools


snowman:window-passage:render

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

snowman:window-passage:render [2017/10/09 20:39] (current)
Line 1: Line 1:
 +//​render()//​ is a function of the [[snowman:​window-passage|window.passage]] global JavaScript variable created by Snowman.
 +
 +**Name:** //​render()//​
 +
 +**Parameters:​** {String} Source
 +
 +**Return Type:** {String} HTML source
 +
 +**Description:​** Returns an HTML-rendered version of the passage'​s source. This first runs the source code through the Underscore template parser, then runs the result through a Markdown renderer, and then finally converts bracketed links to passage links.
  
snowman/window-passage/render.txt ยท Last modified: 2017/10/09 20:39 (external edit)