refactoring
Merge pull request #19 from yosukesuzuki/mdeditor

refactoring