Module: "liquid-options"

Type aliases

OutputEscape

Ƭ OutputEscape: function

Defined in src/liquid-options.ts:18

Type declaration:

▸ (value: any): string

Parameters:

Name Type
value any

OutputEscapeOption

Ƭ OutputEscapeOption: *”escape” | “json” | OutputEscape*

Defined in src/liquid-options.ts:19

Variables

Const filters

filters: Map‹any, any› = new Map()

Defined in src/liquid-options.ts:13

Functions

getOutputEscapeFunction

getOutputEscapeFunction(nameOrFunction: OutputEscapeOption): any

Defined in src/liquid-options.ts:201

Parameters:

Name Type
nameOrFunction OutputEscapeOption

Returns: any


normalize

normalize(options: LiquidOptions): NormalizedFullOptions

Defined in src/liquid-options.ts:174

Parameters:

Name Type
options LiquidOptions

Returns: NormalizedFullOptions


normalizeDirectoryList

normalizeDirectoryList(value: any): string[]

Defined in src/liquid-options.ts:212

Parameters:

Name Type
value any

Returns: string[]

Object literals

Const defaultOptions

defaultOptions: object

Defined in src/liquid-options.ts:143

cache

cache: undefined = undefined

Defined in src/liquid-options.ts:149

dynamicPartials

dynamicPartials: true = true

Defined in src/liquid-options.ts:152

extname

extname: string = “”

Defined in src/liquid-options.ts:150

fs

fs: “fs/node” = fs

Defined in src/liquid-options.ts:151

globals

globals: object

Defined in src/liquid-options.ts:168

Type declaration:

greedy

greedy: true = true

Defined in src/liquid-options.ts:158

jekyllInclude

jekyllInclude: false = false

Defined in src/liquid-options.ts:148

jsTruthy

jsTruthy: false = false

Defined in src/liquid-options.ts:153

keepOutputType

keepOutputType: false = false

Defined in src/liquid-options.ts:169

layouts

layouts: string[] = [‘.’]

Defined in src/liquid-options.ts:145

lenientIf

lenientIf: false = false

Defined in src/liquid-options.ts:167

operators

operators: Operators = defaultOperators

Defined in src/liquid-options.ts:170

operatorsTrie

operatorsTrie: Trie = createTrie(defaultOperators)

Defined in src/liquid-options.ts:171

outputDelimiterLeft

outputDelimiterLeft: string = “{{”

Defined in src/liquid-options.ts:161

outputDelimiterRight

outputDelimiterRight: string = “}}”

Defined in src/liquid-options.ts:162

ownPropertyOnly

ownPropertyOnly: false = false

Defined in src/liquid-options.ts:166

partials

partials: string[] = [‘.’]

Defined in src/liquid-options.ts:146

preserveTimezones

preserveTimezones: false = false

Defined in src/liquid-options.ts:163

relativeReference

relativeReference: true = true

Defined in src/liquid-options.ts:147

root

root: string[] = [‘.’]

Defined in src/liquid-options.ts:144

strictFilters

strictFilters: false = false

Defined in src/liquid-options.ts:164

strictVariables

strictVariables: false = false

Defined in src/liquid-options.ts:165

tagDelimiterLeft

tagDelimiterLeft: string = “{%”

Defined in src/liquid-options.ts:159

tagDelimiterRight

tagDelimiterRight: string = “%}”

Defined in src/liquid-options.ts:160

trimOutputLeft

trimOutputLeft: false = false

Defined in src/liquid-options.ts:157

trimOutputRight

trimOutputRight: false = false

Defined in src/liquid-options.ts:156

trimTagLeft

trimTagLeft: false = false

Defined in src/liquid-options.ts:155

trimTagRight

trimTagRight: false = false

Defined in src/liquid-options.ts:154