Skip to content

Commit

Permalink
fix newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 25, 2025
1 parent 16fdcbc commit bd26ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function getDocumentText(view) {

export function getFlokLink() {
const prettyDate = getPrettyDate();
const prefix = `// "nudel ${prettyDate}" @by pastagang\n//\n${stdSource}`;
const prefix = `// "nudel ${prettyDate}" @by pastagang\n//\n${stdSource}\n`;

const panels = [];
const targets = [];
Expand Down Expand Up @@ -68,7 +68,7 @@ export function downloadAsFile(txt, { fileName = `nudel-export-${getPrettyDate()

export function getCode(filter) {
const prettyDate = getPrettyDate();
const headline = `// "nudel ${prettyDate}" @by pastagang\n${stdSource}`;
const headline = `// "nudel ${prettyDate}" @by pastagang\n${stdSource}\n`;
let documents = session.getDocuments();
if (filter) {
documents = documents.filter(filter);
Expand Down

0 comments on commit bd26ea3

Please sign in to comment.