- (#163) Fix word wrapping in paragraphs.
- (#164) Gracefully handle malformed tables.
- Tables are finally balanced
- Make binary
mdt
again. Was wrongly removed in version 0.8.5.
- (#145) Allow
~~~
to be code blocks - Allow using
md-tui
as a library
- (#137) Add yaml syntax highlighting.
- (#139) Fix codeblocks which includes
\r
characters. - (#143) Add luau syntax highlighting.
- (#132) Allows the user to center the markdown. Config options are
left|center|right
- (#135) Fix crash when quote block was left empty.
- Escape resets to original ordering in file tree.
- Fix crash in list if newline started with a number. It was parsed as index of a list even if it wasn't.
- Fix divide by zero error on tables.
- Allow codeblocks to start indented.
- Actually make use of default quote coloring.
- (#113) Small images does not get the maximum space of 20 font heights, but the space they occupy.
- (#127)
MDT
now loads files lazily. No more loading screen :).
- (#122) Fixes crash when codeblocks contained characters longer than one byte and the codeblock is supposed to be highlighted.
- Delay cloning text blocks until they are within viewport. Large improvement in debug mode.
- (#120) Fixes aligning of ordered list with indexes over 9.
- (#50) Add customizing keyboard inputs. (BREAKING Some default were changed)
- (#104) Files can now be opened in
$EDITOR
fromMDT
.- Tested with Neovim and Vim.
- (#110) Add a Nix flake.
- (#105 partially) More flexible table dash parsing.
- Add highlighting for css, html, php, typescript.
- (#105) Length is defined by longest cell in the column.
- Cell wrapping is not implemented yet.
- Inline code can be written with triple ticks, but it checks if it's a codeblock first.
- Fix quote blocks word wrapping.
- Add the arrow keys as aliases for HJKL (#103, by @cmrschwarz)
- Add Scala syntax highlighting (#117, by @sierikov)
- (#106)
MDT
now allows text part of link to cross multiple lines. - Allow arbitrary programming language in codeblock. Does not mean it will get highlighted.
- Images which was below viewport would crash the app when reaching it.
- Improve parsing for quotes. It allows them to be indented. As with indented paragraphs, this TUI does not respect indenting in for blocks other than lists.
- Tabs are now transformed to 4 spaces in codeblocks. May be reversed when proper rendering of tabs is configured.
- Changes default width to 100
- Add possibility to change config using environment variables
- Fix crash when terminal does not respond with font size
It now supports images!! Mostly thanks to the
ratatui-image crate. For terminals
with a nerd font and no image support it will fall back to Unicode half blocks.
This means MD-TUI
is a poor fit for TTY
s. (#15).
- Code block without specifying language now has leading empty line.
- Improve heading search.
- (#67) numbering of ordered list is now handled automatically.
- (#92) Fix page counter which had the total number of pages wrong sometimes.
- (#49) Headings are visually separate-able, and configurable.
- (#96) The scroll is not affected on file change. It also now detects file changes.
SYNTAX HIGHLIGHTING!
Currently adds support for (with more to come):
- Rust
- JavaScript
- Java
- Go
- Python
- Ocaml
- Json
- Bash/sh
- C/C++
- Lua
- Crash when number of markdown files where exactly at page limit at user tried
to scroll to the last one using
j
ork
. - Improved resizing. Can still crash if the terminal changes too fast. (#69)
- Improve heading parsing.
- Paragraphs could clip the end and last to chars of words could be clipped.
- Fix parsing of word modifiers after last version broke them.
s
key now tries to find the top link in view. It searches downward, but selects the last one link if it doesn't find any.
- The
S
key does the same ass
but searches from two thirds up and does the search both ways.
- Every block now has a newline between them regardless of users formatting.
- Fixed tasks which was parsed incorrectly.
- Changed how spaces are parsed in lists so search markings can become nicer.
- (#83) Search markings vastly improved. Both in performance and multiple word
capturing. It is however slightly more strict. The search
something
will not match end of sentence likesomething.
orsomething,
. - (#84) Changed parsing grammar to allow italic/bold/strike through words to wrap newline in quote blocks.
- Other minor changes to parsing.
- #64 Tables and code blocks destroyed search marking for every block type following.
- Gave code blocks a bit more space.
- #68 Improve link parsing. Root counts from where
mdt
was invoked. - #72 If paragraphs started with italic modifier, it didn't work. Now fixed.
- Bold&italic had an issue of consuming its preceding whitespace.
- #78 Fixed wrong indentation of lists.
- #33 Able to jump the next or previous search result.
- #65 Quote markings supported.
- #75 Wiki links.
[[linkToSomething]]
or[[URL|Some title]]
is supported.
- Added new option
gitignore
which, when set to true (default false), does not load files from.gitignore
. - When in link mode, you can press
h
to hover/see where the link goes (#35)
- It continues to find markdown files even if it meets a directory it's not allowed to read (#51)
- Support multi-line comments (#56)
- Paragraphs after table don't look weird anymore (#48)
- #52 Code no longer does an unnecessary division
- #53 Programming language in code block is now optional
- #55 No longer crashes when a block of something is higher than then terminal height and clips both the top and bottom
- Adds configuration for custom coloring and width (#4)
- Supports bold and italic at the same time (#47)
- Stricter italic checking (#45)
- Allowing escaping some characters (#28)
- Rewrote table parsing (slight regression. Noted in #48)
- Allows newlines in code blocks
- #39 does not panic at horizontal separators
- #36 More aggressive check for comments
- #40 Checks file endings on relative files