Hello Typora team,
I would like to request the addition of full CLI (command line interface) support for Typora.
Currently, Typora can be launched from the command line to open files, but lacks advanced CLI features.
Adding a complete CLI interface would make Typora far more powerful for developers, automation workflows, and AI integration.
Suggested CLI features:
- Create new Markdown files directly from CLI (without confirmation dialogs)
- Edit existing files via CLI commands (append, replace, batch operations)
- Export Markdown files to PDF/HTML/Docx directly from CLI
- Open multiple files in tabs via CLI
- Control UI elements (toggle sidebar, outline, etc.)
- Keep Typora in foreground for commit message editing
- Provide scripting hooks or API endpoints for automation
- Support piping input/output (e.g.,
echo "text" | typora --append file.md)
- Allow headless mode for rendering/export without GUI
- Enable integration with shell scripts and CI/CD pipelines
Benefits:
- Seamless integration with Git workflows (e.g., commit message editing, documentation pipelines)
- Easier batch processing and automation for technical users
- AI integration: CLI support would allow AI tools and agents to interact with Typora programmatically, enabling:
- Automated document generation and formatting
- AI-assisted batch export and conversion
- Intelligent editing pipelines where AI can call Typora as a rendering/export backend
- Educational use cases: teachers and students could script document creation and export for assignments
- Publishing workflows: authors could automate conversion of drafts into multiple formats
- Accessibility: CLI hooks make Typora usable in environments where GUI is limited or unavailable
I believe full CLI support would make Typora not only a great interactive editor but also a versatile tool in modern developer, publishing, and AI-driven workflows.
Thank you for considering this request!<!--
Hello Typora team,
I would like to request the addition of full CLI (command line interface) support for Typora.
Currently, Typora can be launched from the command line to open files, but lacks advanced CLI features.
Adding a complete CLI interface would make Typora far more powerful for developers, automation workflows, and AI integration.
Suggested CLI features:
echo "text" | typora --append file.md)Benefits:
I believe full CLI support would make Typora not only a great interactive editor but also a versatile tool in modern developer, publishing, and AI-driven workflows.
Thank you for considering this request!<!--