-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Specifically newline before text.
test.js
const {readFileSync} = require('fs')
const reshape = require('reshape')
const sugarml = require('sugarml')
const beautify = require('reshape-beautify')
reshape({ parser: sugarml, plugins: beautify() })
.process(readFileSync('./index.sgr', 'utf8'))
.then((result) => console.log(result.output()))
index.sgr
p
|
| x
|
When I run it:
$ node test.js
<p>x
</p>
It should be:
$ node test.js
<p>
x
</p>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels