Skip to content

Releases: MeanderingProgrammer/render-markdown.nvim

v6.0.0

05 Aug 22:09
Compare
Choose a tag to compare

6.0.0 (2024-08-05)

⚠ BREAKING CHANGES

  • custom_handlers render method deleted and replaced with parse method. The former assumed rendering inside, the latter gets marks back so they are not interchangeable. Notice of deprecation has been available for a month since (726c85c)
    • Ultimately removed in (83b3865)
    • In order to fix:
      • Implement parse method instead of render, no direct translation
  • Remove profile field in favor of benches (dcfa033)
    • In order to fix:
      • profile field was only meant for development, should not have any users
  • Updated buftype options
    • In order to fix:
      • exclude.buftypes.<v> -> overrides.buftype.<v>.enabled = false
      • sign.exclude.buftypes.<v> -> overrides.buftype.<v>.sign.enabled = false

Features

  • Performance only parse & render visible range (c7a2055)
  • Support full buftype options (9a8a2e5)
  • Inline heading position (#107) (345596b)
  • Pre-compute concealed data once per parse cycle (fcd908b) (3bdae40)
  • Improve table parsing performance by storing state (4d046cd)
  • Improve performance of showing / hiding marks by storing mark id (ef0c921)
  • Hide code block background based on language (#110) (9725df2)
  • Right aligned code block language hint (#73) (4d8b603)
  • Obsidian like custom callout titles (#109) (a1bcbf4)
  • Support for wikilinks (e6695b4)
  • Skip parsing when no text changes and already parsed (#115) (6bb1d43)
  • Callouts on wrapped lines kind of (#114) (66110dd)
  • Custom link icons based on destination (#117) (d5b57b3)

Bug Fixes

  • Repo has been renamed markdown.nvim -> render-markdown.nvim, one can argue this was a long standing bug. Everything internally & externally already used the render markdown naming convention except for the repo itself. Since Github treats the URLs the same and redirects between the 2 there should be no breaking changes from this. (aeb5cec) (090ea1e)
  • Block code rendering with transparent background (#102)
  • Remove broken reference to profiler module (#105) (15d8e02)
  • Loading user configuration with vim-plug (#111) (4539c1a)

Collaborator Shoutouts

Awesome Things

  • Supported by catppuccin colorscheme (#740)

v5.0.0

28 Jul 00:58
Compare
Choose a tag to compare

5.0.0 (2024-07-27)

⚠ BREAKING CHANGES

  • Add additional user command controls to allow lazy loading on command (#72) (3c36a25)
  • In order to fix:
    • RenderMarkdownToggle -> RenderMarkdown toggle

Features

  • Full anti-conceal support (726c85c)
  • Link custom highlight groups to better support color schemes (#70) (0f32655) (6aa19e9)
  • Code blocks support block / fixed width (#88)
  • Separate highlight group for inline code blocks (#87)
  • Disable heading icons by setting an empty list (#86)
  • Support full_reference_link nodes (#75) (5879827)
  • Disable signs per component (#64) (9b771cc)
  • Improve health check, plugin conflicts, treesitter highlights (#89) (a8a3577) (8d14528)
  • Left padding for code blocks (0bbc03c)
  • Right padding for list bullets (#93) (2c8be07)
  • Fixed width dash (#92) (ff1b449)
  • Case insensitive callout matching (#74) (123048b)
  • Improve lazy.nvim instructions (#80)
  • Improve LaTeX compatibility (#90) (695501b)
  • Heading block width (#94) (426b135)
  • Alignment indicator for pipe tables (#91) (a273033)
  • Auto-setup using plugin directory (#79) (67bdd9b)
  • Upload to LuaRocks (#78)

Bug Fixes

  • Rendering for buffers with no cached marks (#65) (#66) (4ab8359)
  • Code highlight border with notermguicolors (#77) (#81)
  • Hide cursor row in active buffer only (56d92af)
  • Remove gifs from repo, fix concel on window change (51eec4e)
  • Wrap get_parser in pcall (#101) (ddb4547)

Collaborator Shoutouts

Awesome Things

  • Added to LazyVim distribution (#4139)
  • Supported by tokyonight.nvim colorscheme (71429c9)
  • Supported by cyberdream.nvim colorscheme (ba25d43)
  • Supported by rose-pine colorscheme (#303)

v4.1.0

14 Jul 08:57
Compare
Choose a tag to compare

4.1.0 (2024-07-14)

Features

  • Improve handling concealed text for tables, code blocks, and headings. Add 'padded' cell style which fills in concealed width. Inline headings when there is no space. (#49) (#50) (9b7fdea) (5ce3566)
  • Add thin border style for code blocks (#62) (3114d70)
  • Add icons to images and links (#55) (501e5e0)
  • Add signs for headings and code blocks (7acc1bf)
  • Allow signs to be disabled based on buftype, improve highlight color (#58) (#61) (d398f3e)
  • Add defaults for all Obsidian callouts (be3f6e3)
  • Add code style 'language', adds icon without background (#52) (308f9a8) (e19ed93)
  • Allow table border to be configured (b2da013)
  • Improved health check configurable buftype exclude (1d72b63)
  • Use more common heading highlights (e099bd8)
  • Allow each component to be individually disabled (b84a788)

Bug Fixes

  • Account for leading spaces in code blocks (#60) (48083f8)
  • Use concealed text width for 'raw' table cell style (8c71558)

v4.0.0

08 Jul 22:35
Compare
Choose a tag to compare

4.0.0 (2024-07-08)

⚠ BREAKING CHANGES

  • Group properties by component (a021d5b)
  • If you want to punt dealing with these changes feel free to use the v3.3.1 tag
  • In order to fix:
    • start_enabled -> enabled
    • Latex
      • latex_enabled -> latex.enabled
      • latex_converter -> latex.converter
      • highlights.latex -> latex.highlight
    • Headings
      • headings -> heading.icons
      • highlights.heading.backgrounds -> heading.backgrounds
      • highlights.heading.foregrounds -> heading.foregrounds
    • Code
      • code_style -> code.style
      • highlights.code -> code.highlight
    • Dash
      • dash -> dash.icon
      • highlights.dash -> dash.highlight
    • Bullets
      • bullets -> bullet.icons
      • highlights.bullet -> bullet.highlight
    • Checkbox
      • checkbox.unchecked -> checkbox.unchecked.icon
      • highlights.checkbox.unchecked -> checkbox.unchecked.highlight
      • checkbox.checked -> checkbox.checked.icon
      • highlights.checkbox.checked -> checkbox.checked.highlight
    • Quote
      • quote -> quote.icon
      • highlights.quote -> quote.highlight
    • Table
      • table_style -> pipe_table.style
      • cell_style -> pipe_table.cell
      • highlight.table.head -> pipe_table.head
      • highlight.table.row -> pipe_table.row
    • Callouts
      • callout.note -> callout.note.rendered
      • callout.tip -> callout.tip.rendered
      • callout.important -> callout.important.rendered
      • callout.warning -> callout.warning.rendered
      • callout.caution -> callout.caution.rendered
      • highlights.callout.note -> callout.note.highlight
      • highlights.callout.tip -> callout.tip.highlight
      • highlights.callout.important -> callout.important.highlight
      • highlights.callout.warning -> callout.warning.highlight
      • highlights.callout.caution -> callout.caution.highlight
      • callout.custom.* -> callout.* (i.e. unnest from custom block)
    • Others
      • Any remaining changes are covered within that component.
      • I.e. code_style is covered in Code, highlights.table is covered in
        Table, highlights.callout.note is covered in Callouts, etc.

v3.3.1

08 Jul 17:56
Compare
Choose a tag to compare

3.3.1 (2024-07-08)

Features

  • Improved health check (7b8110b)
  • Use lua to document components (d2a132e)

v3.3.0

06 Jul 14:53
Compare
Choose a tag to compare

3.3.0 (2024-07-06)

Features

  • Improve performance by attaching events at buffer level (#45) (14b3a01)
  • Reduce startup time by scheduling treesitter parsing (6d153d7)
  • Support arbitrary nesting of block quotes & code blocks (770f7a1)
  • Prefer mini.icons for code blocks over nvim-web-devicons (353e445)
  • Support custom checkbox states (#42) (ff3e8e3)
  • Support custom callouts (8f5bbbd)

Bug Fixes

  • Fix language selection logic for code blocks (#44) (90072fd)

v3.2.0

28 Jun 17:55
Compare
Choose a tag to compare

3.2.0 (2024-06-28)

Features

  • Make default icons consistent: (#37) (7cfe1cf)
  • Document known limitations: (#34) (#35) (0adb35c)
  • Add troubleshooting guide: (#38) (6208fc4)
  • Add note for vimwiki users: (#39) (56ba207)
  • Add issue templates: (e353f1f)
  • Add raw cell style option: (#40) (973a5ac)
  • Allow custom handlers to extend builtins: (870426e)
  • Add language icon above code blocks: (6eef62c)
  • Use full modes instead of truncated values, support pending operation: (#43) (467ad24)

Bug Fixes

  • Get mode at time of event instead of callback execution: (#36) (b556210)
  • Update healthcheck to work with neovim 0.9.5: (64969bc)
  • Handle block quotes with empty lines: (#41) (6f64bf6)

Contributor Shoutouts

v3.1.0

05 Jun 18:49
Compare
Choose a tag to compare

3.1.0 (2024-06-05)

Features

  • Add debug statements to latex handler, make converter configurable 7aedbde
  • Split demo into separate files ea465a6
  • Support highlighting callout quote marker based on callout #24 3c6a0e1
  • Add health check for latex requirements #32 a2788a8

v3.0.0

01 Jun 04:25
Compare
Choose a tag to compare

3.0.0 (2024-05-31)

⚠ BREAKING CHANGES

  • Allow all window options to be configurable between rendered and non rendered view (#31) (258da4b)
  • In order to fix:
    • conceal = { default = <value_1>, rendered = <value_2> } -> win_options = { conceallevel = { default = <value_1>, rendered = <value_2> } }

Contributor Shoutouts

v2.1.0

01 Jun 04:20
Compare
Choose a tag to compare

2.1.0 (2024-05-31)

Features

  • Support github markdown callout syntax (#20) (43bbefd)
  • Add health check on treesitter highlights being enabled (#28) (c1d9edc)
  • Script logic to update state config class and README from init.lua (d1cd854)
  • Validate user config in health check (6f33a30)
  • Support user defined handlers (#30) (473e48d)

Bug Fixes

  • Use strdisplaywidth in all string length calculations (#26) (7f90f52)