Skip to content

Commit

Permalink
merge: Fix a bug in literate code generation (#1257)
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
ice1000 authored Dec 22, 2024
2 parents 3ca9f15 + 974182f commit 6a98134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli-impl/src/main/java/org/aya/cli/utils/LiterateData.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a98134

Please sign in to comment.