Skip to content

Description

type Description =
    {
        Name: string
        Label: string
        Language: string
        Highlight: string
        Runs: bool
        Aliases: string list
    }
AssemblyNacara.Plugin.LiveExample

Everything known about a target, in one place so nothing drifts.

Language is the string the compiler is sent; Highlight is the grammar the output is coloured with, which is the same name a fence would write for that language.

Fields

Name: string

What a fence writes, and what the browser is told.

Label: string

What the tab is labelled.

Language: string

What the compiler is sent.

Highlight: string

The grammar its output is coloured with.

Runs: bool

Whether a browser can run what comes out.

Aliases: string list

The other spellings a fence may use.