diff --git a/cli-impl/src/main/java/org/aya/cli/utils/LiterateData.java b/cli-impl/src/main/java/org/aya/cli/utils/LiterateData.java index 709a3ec491..22998f4a43 100644 --- a/cli-impl/src/main/java/org/aya/cli/utils/LiterateData.java +++ b/cli-impl/src/main/java/org/aya/cli/utils/LiterateData.java @@ -129,7 +129,7 @@ public record InjectedFrontMatter( var delimiter = new Literate.Raw(Doc.plain("---")); frontMatter = new Literate.FrontMatter(MutableList.of( delimiter, Literate.EOL, label, Literate.EOL, delimiter)); - literate = new Literate.Many(null, ImmutableSeq.of(frontMatter, literate)); + literate = new Literate.Many(null, ImmutableSeq.of(frontMatter, Literate.EOL, literate)); } } var prettier = new LiterateFaithfulPrettier(problems, highlights, options);