1.在记事本中
粘贴:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]@="md_auto_file"
[HKEY_CLASSES_ROOT\.md\ShellNew]"NullFile"=""
[HKEY_CLASSES_ROOT\md_auto_file]@="Markdown Document"
[HKEY_CLASSES_ROOT\md_auto_file\DefaultIcon]@="%SystemRoot%\\System32\\imageres.dll,-102"
[HKEY_CLASSES_ROOT\md_auto_file\shell\open\command]@="NOTEPAD.EXE \"%1\""
2.将文件保存为add_md.reg
3.双击运行即可在新建文件中看到新建md文件啦
4.如果想要取消掉:
5.在记事本中粘贴:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\.md\ShellNew]
6.将文件保存为remove_md.reg
7.双击运行就可以取消掉了