Skip to content

LiterateOptions

type LiterateOptions =
    {
        Extensions: string list
        Language: string
        DefaultMeta: string
        TypeCheck: bool
        TypeCheckWhileWatching: bool
    }
AssemblyNacara.Plugin.Literate

Options of the literate plugin.

Fields

Extensions: string list

Extensions treated as literate source.

Language: string

Language name used for the generated fences.

DefaultMeta: string

Show a "view source" style title on every generated code block.

TypeCheck: bool

Check that the sources compile, with dotnet fsi --typecheck-only.

The file is type-checked, so the example on the page is code that compiles. Nothing is run.

TypeCheckWhileWatching: bool

Check while watching too. Off by default: it starts a compiler per file.