Instantiate
Optionalconfiguration: {options
Optionaldecapo?: booleanOptionaldelegates?: { abc?: {}; grid?: {}; ly?: {}; tab?: {} }Optionalevaluate?: booleanWhether or not to evaluate meta expressions. For more info about meta expressions, see: https://bit.ly/2SC9c2u
OptionalexpandChorusDirective?: booleanWhether or not to expand {chorus} directives
by rendering the last defined chorus inline after the directive.
Optionalinstrument?: { description?: string; type?: string } | nullOptionalkey?: The key to use for rendering. The chord sheet will be
transposed from the song's original key (as indicated by the {key} directive) to the specified key.
Note that transposing will only work if the original song key is set.
Optionalmetadata?: {Optionalorder?: (Optionalseparator?: stringThe separator to be used when rendering a metadata value that has multiple values. See: https://bit.ly/2SC9c2u
OptionalnormalizeChords?: booleanWhether or not to automatically normalize chords
Optionaluser?: { fullname?: string; name?: string } | nullOptionaluseUnicodeModifiers?: booleanWhether or not to use unicode flat and sharp symbols.
Configure the formatter with new options
New configuration options
The formatter instance for chaining
Formats a song into a ChordPro chord sheet.
The song to be formatted
The ChordPro string
ProtectedgetGet the default configuration for this formatter type Should be implemented by subclasses to return the appropriate default configuration
Formats a song into a ChordPro chord sheet