Add new line at end of Markdown files
This commit is contained in:
parent
0b9575c77c
commit
803602179d
1 changed files with 3 additions and 3 deletions
|
@ -344,7 +344,7 @@ async function exportLegiTexteToMarkdown(
|
||||||
# Codes juridiques français en Git et Markdown
|
# Codes juridiques français en Git et Markdown
|
||||||
|
|
||||||
- [${codeTitle}](${codeDirName})
|
- [${codeTitle}](${codeDirName})
|
||||||
`,
|
` + "\n",
|
||||||
)
|
)
|
||||||
await git.add({
|
await git.add({
|
||||||
dir: targetDir,
|
dir: targetDir,
|
||||||
|
@ -463,7 +463,7 @@ async function generateGitDirectory(
|
||||||
###### ${articleTitle}
|
###### ${articleTitle}
|
||||||
|
|
||||||
${article.BLOC_TEXTUEL?.CONTENU}
|
${article.BLOC_TEXTUEL?.CONTENU}
|
||||||
`,
|
` + "\n",
|
||||||
)
|
)
|
||||||
await git.add({
|
await git.add({
|
||||||
dir: context.targetDir,
|
dir: context.targetDir,
|
||||||
|
@ -522,7 +522,7 @@ async function generateGitDirectory(
|
||||||
${"#".repeat(Math.min(depth, 6))} ${title}
|
${"#".repeat(Math.min(depth, 6))} ${title}
|
||||||
|
|
||||||
${readmeLinks.map(({ href, title }) => `- [${title}](${href})`).join("\n")}
|
${readmeLinks.map(({ href, title }) => `- [${title}](${href})`).join("\n")}
|
||||||
`,
|
` + "\n",
|
||||||
)
|
)
|
||||||
await git.add({
|
await git.add({
|
||||||
dir: context.targetDir,
|
dir: context.targetDir,
|
||||||
|
|
Loading…
Reference in a new issue