Effect picture
Prerequisite: Typora has been installed (download from official website)
1 Open the registry
1, cmd+r, open the run dialog box
2, enter regedit, open the registry
2 Modify the registry
2.1 Add and edit .md items
1. Right-click on [Computer\HKEY_CLASSES_ROOT] and create a new item, the name is .md
2, and the default value of .md is Typora.md
2.2 Add and edit .md/ShellNew item
1. Right-click on the .md item, New->Item, the name is ShellNew
2, Right-click in the ShellNew item, New->String value, the name of the value is NullFile
Since typroa has been installed, you don’t need to build it yourself, just find Typroa.md. Set the default value, and choose the name you want.
The other two have been built, don't worry about it.
Then view-refresh the registry
Back to the desktop, if it does not appear, restart the computer.