* Frontmatter has four delimiter styles, each round-tripped by * serializeFrontMatter in `state/stateToMarkdown.ts`: * - YAML `---\n…---\n` (lang: 'yaml', style: '-') * - TOML `+++\n…+++\n` (lang: 'toml', style: '+') * - JSON `;;;\n…;;;\n` (lang: 'json', style
| 15 | */ |
| 16 | |
| 17 | interface IStyleCase { |
| 18 | label: string; |
| 19 | lang: 'yaml' | 'toml' | 'json'; |
| 20 | style: '-' | '+' | ';' | '{'; |
| 21 | text: string; |
| 22 | expectedStart: string; |
| 23 | expectedEnd: string; |
| 24 | } |
| 25 | |
| 26 | const STYLE_CASES: IStyleCase[] = [ |
| 27 | { |
nothing calls this directly
no outgoing calls
no test coverage detected