Added
- New
--full-widthflag (anddefaults.full_widthin~/.config/mdcat/config.toml) to use the
full terminal width instead of capping output at 80 columns, without having to pass
--columns $(tput cols)(see #42).
Fixed
- Clarify in the docs that
Renderer::text_from_str/text_from_read(and the free
text_from_strfunction) never render actual images, only alt text, because a RatatuiTextis
plain styled spans that cannot carry image data;RenderOptions::imagesonly affects
MdcatWidget/MdcatWidgetState, which draw decoded images as overlays on top of the text. This
was a common source of confusion for callers usingRendererdirectly without the widget (see
#36). - Fix a panic when a table cell contains a footnote reference (e.g.
2[^1]). Table cells handle
inline events directly instead of going through the genericInlinestate that footnote
references were only wired up for, soFootnoteReferenceinside aTableBlockfell through to
the "impossible event" panic (see #43).
Changed
- Lower the "Terminal does not support images, rendering image as link" log message from
INFO
toDEBUG. This message fires on every image when rendering into RatatuiText, because that
code path deliberately disables inline image protocols and renders images as overlays instead;
atINFOit drowned out other diagnostics forratatui-based consumers (see #37).