Releases: MeanderingProgrammer/render-markdown.nvim
Releases · MeanderingProgrammer/render-markdown.nvim
v8.0.0
8.0.0 (2025-02-06)
⚠ BREAKING CHANGES
This release includes only a single change which breaks any function values in user configurations. Rather than passing a list of arguments to the functions we now provide a single context table with the same information (591e256).
The fix to any errors is straightforward as the fields of the context continue to have the same names. So if you have an existing function like:
function(param1, param2)
vim.print(param1)
vim.print(param2)
endThe fixed version would be:
function(ctx)
vim.print(ctx.param1)
vim.print(ctx.param2)
endIf you use the same parameters many times in the function and don't want to add the ctx. prefix everywhere you can add a line at the top to define local variables with the same name as before and keep the rest of the function body unchanged:
function(ctx)
local param1, param2 = ctx.param1, ctx.param2
vim.print(param1)
vim.print(param2)
endThe fields impacted are:
- The
parsefunctions incustom_handlers:buf->ctx.bufroot->ctx.root
- The callbacks in
on:on.attach&on.render:buf->ctx.buf
bullet.icons&bullet.ordered_iconsif a non-default function was set:level->ctx.levelindex->ctx.indexvalue->ctx.value
heading.iconsif a function was set:sections->ctx.sections
v7.9.0
7.9.0 (2025-02-02)
Features
- improve wiki link rendering (#284) (7b1b15f)
- heading icons function value (#286) (bab0663) (cfe5746)
- override based on
buflisted(#285) (873bdee) - completions provide space after marker (#292) (d7b646f)
- more default link icons (#307) (8004461)
- buffer level commands for enable, disable, & toggle (#313) (d15a144)
Bug Fixes
- ensure space for table cell padding (#287) (786d643)
- bullet padding + heading borders (#297) (f0eb589)
- wrap nvim-cmp
register_sourcein pcall (#298) (be3e3ab) - check highlighter status when computing concealed regions (#300) (ad05586)
- difference in
nvim-cmpandblink.cmpcursor (#310) (c85d682) - many fixes to handle lazy loading from different plugin managers, and fixes for those fixes (#309) (1ba6fb7) (#315) (b9c98ff) (#317) (4645c18)
v7.8.0
7.8.0 (2025-01-04)
Features
- individual components can all specify render modes (#269) (4d8e991)
- nvim-cmp completion source (3d2dc15)
- blink.cmp completion source (3d2dc15)
- coq_nvim completion source (#258) (#259) (75cdf9d)
- dash width and margin percent (#272)
- include icon provider warning in health check (032c640)
- inline code padding (#274) (65b263d)
- handle more list types for completions (c00cc1e)
- include markers in completion items based on context (#277)
Bug Fixes
Collaborator Shoutouts
v7.7.0
7.7.0 (2024-12-07)
Features
- footnote text superscript rendering (#241) (634acd5) (1b5d117)
- code border none (#246) (f3cda24)
- expand default custom links (#245) (61850bf)
- bare URLs in angle brackets (#244) (401a6c9) (b6b903c)
- conceal html comments (#244) (558310a) (7674543)
- after render callback (#248) (c89e5e0)
- ordered list auto indexing (#250) (a7097f3) (#254) (4ac2804)
Bug Fixes
Awesome Things
v7.6.0
7.6.0 (2024-11-25)
Features
- disabling background for code now keeps border (#220) (bee16b2)
- table support for all conceal levels (3da1bfc)
- roll own type validation to remove vim.validate (d69a885)
- code block language icon from extension (#233) (78a2eb7)
- log_level off (#235) (48a52dd)
- highlighting in double equals (d6a82d7)
- heading border per level (#240) (c83fc56)
- heading position right (#238) (e1879e0)
Bug Fixes
v7.5.0
v7.4.0
7.4.0 (2024-10-16)
Features
- margin for paragraphs (#200) (d20d19f)
on.attachbuffer callback (8b4149b)- allow empty lists for all heading properties (0c6de74)
- wiki link config & language highlight (#205) (965c222)
- code language name (#205) (18c7ef7)
- anti conceal per component per mode (#204) (fb6b3d1) (29863dc)
- align table cells according to indicators (c0082b7)
Bug Fixes
v7.3.0
v7.2.0
7.2.0 (2024-09-26)
Features
pipe_table.cellvaluetrimmed(#175) (c686970)- configurable padding highlight (#176) (095078d)
- pad setext header lines (75a0a95)
- center headings and code blocks (#179) (0986638) (67288fe)
- integrate with lazy.nvim filetypes (cb9a5e2)
- bullet left & right padding on all lines of items (#181) (3adb9d5)
- heading margin / padding based on level (#182) & border virtual option (#183) (aad1a12)
- config command to debug configurations (a9643f4)
- same buffer in multiple windows (#184) (767707e)
Bug Fixes
Collaborator Shoutouts
v7.1.0
7.1.0 (2024-09-19)
Features
- logging improvements (2b86631) (2424693)
- table min width (f84eeae)
- new debug API for development (6f87257)
render_modesas a boolean (7493db6)- anti conceal selected range in visual mode (#168) (5ff191f) (354baf4)
- disable rendering in diff mode (#169) (01b38dc)
- reload runtime highlights on color scheme change (199cc52)