-
Undocumented
Declaration
Swift
typealias VerboseOutput = (ast: String, rendered: String) -
Undocumented
Declaration
Swift
typealias URLVerboseOutput = (url: URL, ast: String, rendered: String) -
Renders content into markdown.
Declaration
Swift
static func renderVerbose( content: String ) -> EnvIO<ProgressReport, nef.Error, VerboseOutput>Parameters
contentContent page in Xcode playground.
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 markdown file.
Declaration
Swift
static func renderVerbose( content: String, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URLVerboseOutput>Parameters
contentContent page in Xcode playground.
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 markdown 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 write the markdown files.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the markdown files generated of type[URL], having access to an immutable environment of typeProgressReport. -
Renders playground pages into markdown files.
Declaration
Swift
static func render( playgroundsAt: URL, into output: URL ) -> EnvIO<ProgressReport, nef.Error, NEA<URL>>Parameters
playgroundsAtFolder where to search Xcode Playgrounds (recursive search).
intoFolder where to write the markdown files for each Xcode Playground page.
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:)Extension methodRenders content into markdown.
Declaration
Swift
static func render( content: String ) -> EnvIO<ProgressReport, nef.Error, String>Parameters
contentContent page in Xcode playground.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the markdown generated of typeString, having access to an immutable environment of typeProgressReport. -
render(page:)Extension methodRenders content into markdown.
Declaration
Swift
static func render( page: URL ) -> EnvIO<ProgressReport, nef.Error, String>Parameters
pagePath to Xcode playground page.
Return Value
An
EnvIOto perform IO operations that produce errors of typenef.Errorand the markdown generated of typeString, having access to an immutable environment of typeProgressReport. -
renderVerbose(page:)Extension methodRenders content into markdown.
Declaration
Swift
static func renderVerbose( page: URL ) -> EnvIO<ProgressReport, nef.Error, VerboseOutput>Parameters
pagePath to Xcode playground 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:toFile:)Extension methodRenders content into markdown file.
Declaration
Swift
static func render( content: String, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URL>Parameters
contentContent page in Xcode playground.
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:toFile:)Extension methodRenders content into markdown file.
Declaration
Swift
static func render( page: URL, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URL>Parameters
pagePath to Xcode playground 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:toFile:)Extension methodRenders content into markdown file.
Declaration
Swift
static func renderVerbose( page: URL, toFile file: URL ) -> EnvIO<ProgressReport, nef.Error, URLVerboseOutput>Parameters
pagePath to Xcode playground 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
MarkdownAPI Protocol Reference