Skip to content

Releases: MeanderingProgrammer/render-markdown.nvim

v8.0.0

06 Feb 21:35
v8.0.0
f2bdf9f

Choose a tag to compare

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) 
end

The fixed version would be:

function(ctx)
    vim.print(ctx.param1)
    vim.print(ctx.param2)
end

If 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)
end

The fields impacted are:

  • The parse functions in custom_handlers:
    • buf -> ctx.buf
    • root -> ctx.root
  • The callbacks in on: on.attach & on.render:
    • buf -> ctx.buf
  • bullet.icons & bullet.ordered_icons if a non-default function was set:
    • level -> ctx.level
    • index -> ctx.index
    • value -> ctx.value
  • heading.icons if a function was set:
    • sections -> ctx.sections

v7.9.0

02 Feb 21:02
v7.9.0
2a9e0ab

Choose a tag to compare

7.9.0 (2025-02-02)

Features

Bug Fixes

v7.8.0

04 Jan 23:27
v7.8.0
1636954

Choose a tag to compare

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

07 Dec 20:50
v7.7.0
3a08669

Choose a tag to compare

7.7.0 (2024-12-07)

Features

Bug Fixes

Awesome Things

v7.6.0

25 Nov 17:10

Choose a tag to compare

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

  • padding & margin for code blocks indented with tabs (#230) (d80acb3)
  • check table rows after parsing (7f0143e)
  • conceal level 2 entities in tables (430a671)
  • ignore anti conceal for inline heading icons (017f370)

v7.5.0

04 Nov 15:41

Choose a tag to compare

7.5.0 (2024-11-04)

Features

Bug Fixes

  • skip updates when state is disabled (#208) (bea6f20)
  • disable rendering when left column is > 0 (1871dc4)
  • skip updates when buffer in window changes (#209) (c6b59a2)
  • use first window if buffer is not current window (#210) (5137b5e)

v7.4.0

16 Oct 23:43

Choose a tag to compare

7.4.0 (2024-10-16)

Features

Bug Fixes

  • bullet point right padding priority (#199) (b02c8ef)
  • window offset bottom calculation (e13ac2c)

v7.3.0

04 Oct 12:52

Choose a tag to compare

7.3.0 (2024-10-04)

Features

  • checkbox scope highlight (cb90caf)
  • plus / minus metadata dash rendering (35c37ca)
  • callouts override quote icon (#194) (1eb3b74)

Bug Fixes

v7.2.0

26 Sep 21:25

Choose a tag to compare

7.2.0 (2024-09-26)

Features

Bug Fixes

  • window options on alternate buffer switch (#177) (f187721)
  • update when window scrolled (#185)

Collaborator Shoutouts

v7.1.0

20 Sep 03:53

Choose a tag to compare

7.1.0 (2024-09-19)

Features

Bug Fixes

Collaborator Shoutouts