-
Undocumented
Declaration
Swift
typealias VerboseOutput = (ast: String, rendered: String) -
Undocumented
Declaration
Swift
typealias URLVerboseOutput = (url: URL, ast: String, rendered: String) -
Renders content into jekyll format.
Declaration
Swift
static func renderVerbose( content: String, permalink: String ) -> EnvIO<ProgressReport, nef.Error, VerboseOutput>Parameters
contentContent page in Xcode playground.
permalinkRelative url where locate the page.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand values with the render information, having access to an immutable environment of typeProgressReport. -
Renders content into jekyll file.
Declaration
Swift
static func renderVerbose( content: String, permalink: String, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URLVerboseOutput>Parameters
contentContent page in Xcode playground.
permalinkRelative url where locate the page.
toFileOutput where to write the Markdown render.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand values with the render information, having access to an immutable environment of typeProgressReport. -
Renders playground pages into jekyll files.
Declaration
Swift
static func render( playground: URL, into output: URL ) -> EnvIO<ProgressReport, nef.Error, NEA<URL>>Parameters
playgroundPath to Xcode playground.
intoFolder where to render the jekyll files (for each playground’s page).
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the jekyll files generated of type[URL], having access to an immutable environment of typeProgressReport. -
Renders playground pages into jekyll files.
Declaration
Swift
static func render( playgroundsAt: URL, mainPage: URL, into output: URL ) -> EnvIO<ProgressReport, nef.Error, NEA<URL>>Parameters
playgroundsAtFolder where to search Xcode Playgrounds (recursive search).
mainPageThe main page path (in jekyll file format).
intoFolder where to render the jekyll site.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the playgrounds path rendered[URL], having access to an immutable environment of typeProgressReport. -
render(content:permalink:)Extension methodRenders content into jekyll format.
Declaration
Swift
static func render( content: String, permalink: String ) -> EnvIO<ProgressReport, nef.Error, String>Parameters
contentContent page in Xcode playground.
permalinkRelative url where locate the page.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the jekyll generated of typeString, having access to an immutable environment of typeProgressReport. -
render(page:permalink:)Extension methodRenders content into jekyll format.
Declaration
Swift
static func render( page: URL, permalink: String ) -> EnvIO<ProgressReport, nef.Error, String>Parameters
pagePath to Xcode playground page.
permalinkRelative url where locate the page.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the jekyll generated of typeString, having access to an immutable environment of typeProgressReport. -
renderVerbose(page:permalink:)Extension methodRenders content into jekyll format.
Declaration
Swift
static func renderVerbose( page: URL, permalink: String ) -> EnvIO<ProgressReport, nef.Error, VerboseOutput>Parameters
pagePath to Xcode playground page.
permalinkRelative url where locate the page.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand values with the render information, having access to an immutable environment of typeProgressReport. -
render(content:permalink:toFile:)Extension methodRenders content into jekyll file.
Declaration
Swift
static func render( content: String, permalink: String, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URL>Parameters
contentContent page in Xcode playground.
permalinkRelative url where locate the page.
toFileOutput where to write the Markdown render.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the file generated of typeURL, having access to an immutable environment of typeProgressReport. -
render(page:permalink:toFile:)Extension methodRenders content into jekyll file.
Declaration
Swift
static func render( page: URL, permalink: String, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URL>Parameters
pagePath to Xcode playground page.
permalinkRelative url where locate the page.
toFileOutput where to write the Markdown render.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the file generated of typeURL, having access to an immutable environment of typeProgressReport. -
renderVerbose(page:permalink:toFile:)Extension methodRenders content into jekyll file.
Declaration
Swift
static func renderVerbose( page: URL, permalink: String, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URLVerboseOutput>Parameters
pagePath to Xcode playground page.
permalinkRelative url where locate the page.
toFileOutput where to write the Markdown render.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand values with the render information, having access to an immutable environment of typeProgressReport.
Install in Dash
JekyllAPI Protocol Reference