You could use
open -a typora xxx.md to open target markdown in Typora. If Typora is your default editor for
.md file, when
open xxx.md would be enough.
You could also add
alias typora="open -a typora"
.bash_profile or other configuration file, then you would be able to do
typora xxx.md to open the markdown file from shell/terminal directly.
If Typora is set as the default markdown editor, then in cmd.exe, input
.md file path directly would open target markdown file. For example:
To set Typora as the default markdown editor you have to do following:
Figure 1 - File properties window
Figure 2 - Application chooser window
After install Typora on Linux, user could run
typora directly in terminal, for example: