Skip to content

Commit

Permalink
fix: add new line character
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed May 13, 2021
1 parent 4efafbf commit 7aec05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class ShikiRenderer {
className: this.getLineClasses(index + 1, meta, hasHighlights),
},
},
children: children,
children: children.concat([{ type: 'text', value: '\n' }]),
}
}

Expand Down

0 comments on commit 7aec05b

Please sign in to comment.