⚠️ Oops! This page doesn't appear to define a type called _.
Edit

CodeSnippets

This module does not have a toplevel documentation block.

let codeBlockPrefix: string

let matchOption: (string, string) => option(string)

let parseCodeOptions: (string, 'a) => option(codeOptions)

type codeBlock = { el: element, id: int, fileName: string, options: codeOptions, content: string }

type compiledBlock = { block: codeBlock, status: compilationResult }

let sprintf: Pervasives.format('a, unit, string) => 'a

let html: (~?md: option(bool), string) => string

let escapeScript: string => string

let highlight: ( ~editingEnabled: bool, string, string, codeOptions, compilationResult, string => option(string) ) => string

let splitLines: string => list(string)

let sliceToEnd: (string, int) => string

let removeHashes: string => string

let hashAll: string => string

let slice: (string, int, int) => string

let startsWith: (string, string) => bool

let fullContent: ( string => string, codeOptions, string ) => string

let optMap: ('a => option('a), list('a)) => list('a)

let getSourceDirectories: (string, Json.t) => list(string)

let isNative: Json.t => bool

let getDependencyDirs: (string, Json.t) => list( (string, string) )

let invert: ('a => bool, 'a) => bool

let unique: list('a) => list('a)

let writeDeps: ( ~output_string: string => unit, ~dependencyDirs: list((string, string)), ~stdlibRequires: list(string), ~bsRoot: 'a, ~base: string ) => unit

let refmtCommand: (string, string, string, string) => string

let justBscCommand: (string, string, list(string)) => string

let processBlock: ( ~?debug: option(bool), ~?silentFailures: option(bool), string, string, string, string, codeOptions, string, list(string) ) => compilationResult

let escape: string => string

let shouldTest: expectation => bool

let snippetLoader: (string, string, string) => string

let testBlock: ( string, ~base: string, compilationResult, codeOptions, string, int ) => unit