Configuration for BBCodeCode rule.

interface BBCodeCodeConfig {
    fromClass?: LanguageByClass;
    isUnset?: IsUnset;
}

Properties

Properties

fromClass?: LanguageByClass

Strategy to retrieve a language token from applied classes.

isUnset?: IsUnset

Predicate to validate, if a language token extracted by fromClass is to be considered unset. Typically used for values such as plaintext. Thus, isUnset should relate to the results of fromClass.