chore: Cleaner Markdown output when exporting docs

This commit is contained in:
Tom Moor
2020-05-24 22:22:06 -07:00
parent f0e513542d
commit 1b5600b025

View File

@ -1,7 +1,9 @@
// @flow
const unescape = (text: string) => {
return text.replace(/\\([\\`*{}[\]()#+\-.!_>])/g, '$1');
return text
.replace(/\\([\\`*{}[\]()#+\-.!_>])/g, '$1')
.replace(/\n\\\n/g, '\n\n');
};
export default unescape;