Skip to content

LiterateBlock

type LiterateBlock =
    | Prose of string
    | Code of code: string * meta: string
    | Hidden of string
AssemblyNacara.Plugin.Literate

A piece of a literate source file.

Cases

Prose of string

Prose, written in a (** … *) comment.

Code of code: string * meta: string

Code, with the fence meta a preceding command asked for.

Hidden of string

Code the reader should not see: (*** hide ***).

Properties

member IsCode: bool
member IsHidden: bool
member IsProse: bool