marktext/src/renderer/prefComponents/markdown/config.js

83 lines
1.2 KiB
JavaScript

export const bulletListMarkerOptions = [{
label: '*',
value: '*'
}, {
label: '-',
value: '-'
}, {
label: '+',
value: '+'
}]
export const orderListDelimiterOptions = [{
label: '.',
value: '.'
}, {
label: ')',
value: ')'
}]
export const preferHeadingStyleOptions = [{
label: 'ATX heading',
value: 'atx'
}, {
label: 'Setext heading',
value: 'setext'
}]
export const tabSizeOptions = [{
label: '1',
value: 1
}, {
label: '2',
value: 2
}, {
label: '3',
value: 3
}, {
label: '4',
value: 4
}]
export const listIndentationOptions = [{
label: 'DocFX style',
value: 'dfm'
}, {
label: 'True tab character',
value: 'tab'
}, {
label: 'Single space character',
value: 1
}, {
label: 'Two space characters',
value: 2
}, {
label: 'Three space characters',
value: 3
}, {
label: 'Four space characters',
value: 4
}]
export const frontmatterTypeOptions = [{
label: 'YAML',
value: '-'
}, {
label: 'TOML',
value: '+'
}, {
label: 'JSON (;;;)',
value: ';'
}, {
label: 'JSON ({})',
value: '{'
}]
export const sequenceThemeOptions = [{
label: 'Hand drawn',
value: 'hand'
}, {
label: 'Simple',
value: 'simple'
}]