commit from stackedit by mytcer