support newline syntax
Merge pull request #2 from ch8908/master

now support newline syntax