Skip to content

Commit

Permalink
correct writing of title line in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Mar 3, 2023
1 parent 0430df6 commit 7e8cf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/jupyter/jupyter-fixups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export function fixupFrontMatter(nb: JupyterNotebook): JupyterNotebook {
const yamlText = asYamlText({ title });
nb.cells.unshift({
cell_type: "raw",
source: nbLines(lines(yamlText)),
source: nbLines(lines(`---\n${yamlText}---\n`)),
metadata: {},
});
}
Expand Down

0 comments on commit 7e8cf6d

Please sign in to comment.