Repolode
oipoistar

oipoistar/tinta

基于 Direct2D 和 DirectWrite 的 Windows 原生 Markdown 与 Mermaid 查看器,无需 Electron。

可替代:Typora

Star
365
Fork
41
未关闭 Issue
7
最近提交
前天

这是什么?

Tinta 是一款面向 Windows 的 Markdown 与 Mermaid 查看器,使用原生 C++ 编写,通过 Direct2D 和 DirectWrite 渲染。程序是体积约 2.5 MB 的单个可执行文件,启动快且无需安装,适合作为 .md 和 .mmd 文件的默认打开方式,用于阅读文档和图表。

除查看外,它还提供带左右分栏预览的编辑模式,支持搜索与查找替换、目录导航和文件夹浏览。Mermaid 图表可原生渲染,覆盖 22 种图表类型,并支持 LaTeX 数学公式。文档可导出为 HTML、DOCX 或 PDF;PlantUML 图表则通过用户本地已安装的 PlantUML 工具渲染。

程序提供 10 种主题、标签页窗口和以 HTML 注释形式保存在文件中的审阅批注,界面支持多种语言。可通过 Microsoft Store、winget 或 Scoop 安装,也可直接运行便携版 exe。

核心功能

  • 01基于 Direct2D 和 DirectWrite 原生渲染,不依赖 Web 引擎
  • 02原生渲染 22 种 Mermaid 图表类型
  • 03支持行内与独立显示的 LaTeX 数学公式
  • 04可导出为 HTML、DOCX 或 PDF,并可选用 Pandoc 导出更多格式
  • 05编辑模式带实时预览,支持查找替换和多光标编辑
  • 06提供 10 种浅色与深色主题、标签页和目录导航

适用场景

  • 在 Windows 上阅读项目文档和 README 文件
  • 无需浏览器即可查看 Mermaid 或 PlantUML 图表
  • 使用轻量编辑器撰写和审阅 Markdown 笔记
  • 将 Markdown 文档导出为 Word 或 PDF 用于分享

快速上手

  1. 1

    使用 winget 从 Microsoft Store 安装

    winget install "Tinta Markdown Viewer" -s msstore
  2. 2

    或者添加 Scoop 软件源

    scoop bucket add tinta https://github.com/oipoistar/scoop-bucket
  3. 3

    然后使用 Scoop 安装 Tinta

    scoop install tinta

使用前须知

  • 仅支持 Windows,项目只面向 Windows 平台。
  • 便携版 exe 尚未代码签名,首次运行时 SmartScreen 可能会发出警告。
  • 从源码构建需要 Windows 上的 Visual Studio 2019 及以上版本和 CMake。

收录于专题

标签

常见问题

tinta 是什么?
基于 Direct2D 和 DirectWrite 的 Windows 原生 Markdown 与 Mermaid 查看器,无需 Electron。 Tinta 是一款面向 Windows 的 Markdown 与 Mermaid 查看器,使用原生 C++ 编写,通过 Direct2D 和 DirectWrite 渲染。程序是体积约 2.5 MB 的单个可执行文件,启动快且无需安装,适合作为 .md 和 .mmd 文件的默认打开方式,用于阅读文档和图表。
tinta 可以免费使用吗?用的什么许可证?
tinta 以 MIT 许可证开源。用于商业产品前,请先确认许可证条款。
tinta 还在维护吗?
活跃维护中。tinta 最近一次提交是在 2026年11月5日。
tinta 适合用来做什么?
在 Windows 上阅读项目文档和 README 文件 无需浏览器即可查看 Mermaid 或 PlantUML 图表 使用轻量编辑器撰写和审阅 Markdown 笔记 将 Markdown 文档导出为 Word 或 PDF 用于分享
tinta 怎么安装和运行?
使用 winget 从 Microsoft Store 安装: winget install "Tinta Markdown Viewer" -s msstore 或者添加 Scoop 软件源: scoop bucket add tinta https://github.com/oipoistar/scoop-bucket 然后使用 Scoop 安装 Tinta: scoop install tinta
在哪里获取 tinta?
源代码和安装说明在 GitHub 上:https://github.com/oipoistar/tinta

概要由 AI 根据项目 README 生成;GitHub 数据每日更新。

相关项目