WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

SliNKi Mode

To turn a regular document (or WiNK wiki page) into a slide set you must specify one occurance of the {slinkiBespoke} macro.

  • {slinkiBespoke} - set's up
    meta:wink:logo
    for slides mode optionaly may have JSON array of optional settings.

Here's an example of the form of the JSON settings...

{slinkiBespoke}
{	"title": "Your title here",
	"copyright": "Your copyright statement here",
	"favicon" : "URL of your favicon here",
	"scripts" : [ "URL of a javascript", "URL of another javascript" ],
	"css" : [
				{ "href" : "URL of CSS", "media" : "screen" },
				{ "href" : "URL of another CSS", "media" : "print" },
				{ "href" : "URL of another CSS" }
			],
	"classroom" : true
}
{/slinkiBespoke}

for details of the options see below.

The JSON options must be well-formed. If they fail to parse - an error alert will be displayed and SliNKi will fall back to its defaults.

scripts option

The scripts option takes an array of URLs. Each URL will be added as a javascript declaration to the of the HTML document.

css option

The css option must be an array of json data structures. Each data structure must contain an "href" with the URL of the CSS stylesheet.

Optionally a "media" field can specify the stylesheets media attribute (screen, print etc).

Optionally one CSS may specify "screen" : true - this CSS will always been shown when the display is in "screen" mode (toggled with the "a" key). Additionally another of the entries must have "pdf" : true - this CSS will be used when the mode is set for PDF export.

CSS will be applied to the of the document in the order specified.

title option

A String to be used as the HTML of the presentation</p><h2 id="favicon_option">favicon option</h2><p>Sets the URL of the favicon to display for the page</p><h2 id="classroom_option">classroom option</h2><p>If you have the slinki.classroom module installed this option will indicate that the browser should establish a websocket to the server to receive page transition events.</p><h2 id="Legacy_mode">Legacy mode</h2><p>Old slides using the io2012 engine can still use the <span>{</span>slinki} macro just as in previous versions.</p></div></div> <div> <ol class="breadcrumb"> <li> <span xmlns:nk="http://netkernel.org"><span><a class="iconlink" href="/tools/docmap/"><span class="fa fa-asterisk fa-2x"></span></a></span><span><a class="iconlink" href="/book/view/book:org:netkernel:wiki:slinki/doc:slinki:guide"><span class="fa fa-chevron-circle-left fa-2x" style="text-decoration: none;" title="Previous : SliNKi Presentations Guide"></span></a></span><span><a class="iconlink" href="/book/view/book:org:netkernel:wiki:slinki/doc:slinki:macros" title="Documentation for SliNKi"><span class="fa fa-chevron-circle-right fa-2x book-navbar-spacer" style="text-decoration: none;" title="Next : Macros"></span></a></span></span> <a class="iconlink" href="#" style="text-decoration: none;"> <span class="icon-circle-arrow-up large-icon-link" style="text-decoration: none;"> </span> </a> </li> </ol> </div> </div> </div> </div> </div> </div> </div> <div class="footer"> <div class="container"> <div class="row"> <div class="col-xs-12"> <div>1060, NetKernel, Resource Oriented Computing, ROC are respectively registered trademarks and trademark of 1060 Research Limited</div> <div>© 2002-2016, 1060 Research Limited</div> </div> </div> </div> </div> <script async="true" defer="true" src="/nkse/style/js/bootstrap-latest.js?v=6.1.1">_</script> </body> </html>