新建一个 txt
文件,名字随意(如:Markdown.txt)
将以下内容复制到刚才新建的 txt 文件中并保存
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]
@="markdownpad2"
[HKEY_CLASSES_ROOT\.md\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\markdownpad2]
@="MDFile"
将新建的文件后缀名 txt
改为 reg
鼠标左键双击运行该文件即可
原文:https://www.cnblogs.com/martin-1/p/14800122.html