Typora基础使用教程-Typora在Shell或Cmd中的使用
                            2021-03-13 15:57
                            阅读:4609
                        
                    macOS
你可以用open -a typora xxx.md在Typora中打开markdown。如果Typora是你.md文件的默认编辑器,则open xxx.md就够了。
你也可以加上
alias typera=“open -a typora”在您的.bash_profile或其他配置文件中,您将能够执行typora xxx.md直接从shell/terminal打开markdown文件。
Wiindows
.md文件路径将打开目标markdown文件。例如:/example.md.
您还可以添加{typora-installed-folder}/bin/typora.exe到系统Path环境变量下,然后您就可以使用typora xxx.md从命令行以Typora方式打开markdown文件。通常{typora-installed-folder}是 C:\Program Files (x86)\Typora
可以直接在终端中运行typora,例如:
typora ~/Document/test.md            {{commentTotal}} 条评论
{{item.nickname}}
                                
                                {{item.create_date}}
                            {{item.content}}
                    - 上拉或点击加载更多 -
    - 加载中 -
    - 没有更多了 -
 
                        