Tinta v4.1.4
Installation
- Easiest:
winget install "Tinta Markdown Viewer" -s msstore(Store-signed, no security prompts, auto-updates), or the Microsoft Store page - Portable: download
tinta.exebelow and run it (SmartScreen may ask: "More info", then "Run anyway") - Optionally run
tinta.exe /registerto register Markdown, Mermaid and PlantUML files
Tinta is now even faster. An everyday file is on screen in about two thirds of the time, and a very long table or code block several times sooner:
| Document | v4.1.3 | v4.1.4 | Faster |
|---|---|---|---|
| Start page | 92 ms | 62 ms | 1.5x |
| Small Markdown file | 96 ms | 59 ms | 1.6x |
| Tinta's README | 94 ms | 62 ms | 1.5x |
| 10,000 paragraphs | 253 ms | 104 ms | 2.4x |
| A table of 4,000 rows | 545 ms | 175 ms | 3.1x |
| A code block of 10,000 lines | 447 ms | 65 ms | 6.9x |
From the start of the process to the first frame drawn, median of 11 launches on one machine. Special thanks to Gemini Neon for the amazing optimization work (#344).
Long documents also take far less memory, the HTML export colours code, and uiFont= sets the interface's font. For citations, papers and themes in CSS, new in 4.1, see the v4.1.0 notes.
Added
uiFont=insettings.ininames an installed font for the interface's own text: tabs, menus, panels, Settings and the start page. It is read at start, and a font that has Chinese, Japanese or Korean draws the interface's too. Suggested by @Maybe12333 (#343)
Changed
- A faster start, as in the table above: fewer system libraries load before the window is up, passes over things a document does not hold are skipped, a long table or code block is laid out from the part the window shows, and the build is compiled with whole-program optimisation. (#344)
- A long document takes far less memory: a file of 12,000 short sections held 2 GB and holds 265 MB. Text far from the window lets its shaped layout go until it is scrolled to or printed. Reported by @ZhiShan-zh (#340)
- The + button at the end of the tab strip opens the start page in a new tab, as Ctrl+T does; Ctrl+N, or New document on the start page, starts an empty note. By @suhailmahmood (#336, #339)
Fixed
- The HTML export colours code as the page does, under built-in themes and your own; a code block was written in one colour. Reported by @fuba82 (#341)
What's included
- Export as HTML, DOCX, or PDF, plus optional Pandoc formats
- 22 natively rendered Mermaid diagram families, and PlantUML diagrams through a local PlantUML
- Tabbed interface with drag, session restore, and a tab context menu
- 10 themes (5 light, 5 dark) plus themes of your own in CSS
- Hardware-accelerated rendering via Direct2D
- Single portable executable of about 5 MB, no dependencies