/atom-markdown-to-html

a atom package for save markdown to html

Primary LanguageHTML

atom-markdown-to-html

a atom package for save markdown to html

features

  • press "ctrl+s" to convert markdown to html in same path
  • the html style from github and has toTop button
  • ignore some md file,when have <!--not to html-->/<!-- not to html --> in file

installation

apm install markdown-to-html

create

# command palette
Ctrl+Shift+P
input "Generate Package"

debug

#open devtool
Ctrl+Shift+I
#reload
Ctrl+Shift+F5/window reload(in command pannel)/Ctrl+R(in devtool)
#clear console
Ctrl+L(in devtool)

publish

# first time
git tag -a v0.0.1 -m "release 0.0.1 version"
git push origin --tags
apm publish minor
# other time
apm publish minor

tip

  • how to active when init remove activationCommands in package.json
"activationCommands": {
  "atom-workspace": "markdown-to-html:toggle"
},

refer to

##todo

  • 配置页面-保存文件执行转换的开关
  • 通过命令执行