- enabled flag for link footnote #362 9721ffe
- blink.cmp source registration b8d93e8 62d6681
- improved completions 9f4ef68
- filter command completions #372
- improved advice in checkhealth 5cec1bb
- avoid inline text for checkboxes when possible #378 f9badfb
code.language_icon
option #376 8ee2701 7bf951b- code border for different conceal settings e724a49
- use builtin extends query in vim.treesitter.query.set for injections c91fa46
- completion filter for callouts and checkboxes #380 84d413b
- separate code border highlight, allow false value a1fc4e5
- ability to enable and disable atx and setext heading rendering #381 a020c88
- reduce height of LSP hover doc window based on concealed lines #384 17b839b
- account for indent when right aligning code language 125258a
- support for code border for 0.11, disable conceal_lines highlights #351 #352 e6c8081
- @water-sucks
- @williambdean
- in-process lsp for engine agnostic completions b56fa1b
- customize heading properties based on text #320 5c2440d
- allow html tags to be replaced with icons #336 6d446de
autocommand
events and wiki linkbody
customization #228 #345 0df6719 #350 a53ac54- indent mode icon support #343 21623a9 33673e6
- bullet
left_pad
&right_pad
support functions #349 98a3b7d - bullet
scope_highlight
&highlight
function support #354 9e3393b - use default
render_modes = true
(all) for LSP docs #326 17a7746 - update troubleshooting doc f6c9e18
- update
lazy
preset to matchLazyVim
4a28c13 - latex position below #347 43a971e
- improve checkhealth 1ef7664
- after clear callback #356
- process conceal_lines metadata for
0.11
595ac4f
- @dsully
- @mcDevnagh
- @filippo-biondi
- @Saecki (for in-process lsp inspiration)
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 incustom_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
- 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
- ensure space for table cell padding #287 786d643
- bullet padding + heading borders #297 f0eb589
- wrap nvim-cmp
register_source
in pcall #298 be3e3ab - check highlighter status when computing concealed regions #300 ad05586
- difference in
nvim-cmp
andblink.cmp
cursor #310 c85d682 - many fixes to handle lazy loading from different plugin managers, and fixes for those fixes #309 1ba6fb7 #315 b9c98ff #317 4645c18
- 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
- @argizuno
- @TheLeoP
- @Kurama622
- @AlexandreDoucet
- 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
- 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
- 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
- custom checkbox scope_highlight #207 2f36ac1
- handle and log latex converter errors 34044cd
- bullet icons list of lists #217 04e75a3
- icons for ordered lists 14673b0
- 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
- margin for paragraphs #200 d20d19f
on.attach
buffer 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
- checkbox scope highlight cb90caf
- plus / minus metadata dash rendering 35c37ca
- callouts override quote icon #194 1eb3b74
- only set option value if it changes #186 91ce0b5
- handle offset conceal nodes 0cab868
- indented table border #191 efb4c48
- heading border at start & end virtual text #187 e91b042
pipe_table.cell
valuetrimmed
#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
- @Bekaboo
- logging improvements 2b86631 2424693
- table min width f84eeae
- new debug API for development 6f87257
render_modes
as 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
- @xudyang1
indent.skip
->indent.skip_level
a028fbe- Renamed within hours of adding
- add missing obsidian aliases 74b77c7
- store components in context, avoids duplicate queries d228a3c
- improve health check for obsidian.nvim conflict 4d2aea3
- anyone using
acknowledge_conflicts
in their config should remove it
- anyone using
- performance getting callouts and checkboxes 5513e28
- indent based on heading level rather than nesting 27cc6ce
- configurable starting indent level cdb58fc
- configurable heading indents so body is offset #161 a028fbe
- only create foreground when inversing highlight #154 12fdb6f
- leading spaces in checkbox bullet #158 06337f6
- heading borders with indentation #164
- indenting heading borders with single empty line between 2ddb145
- @lukas-reineke
- integrate treesitter injections #141 5ff9a59
- email link icon 74502e5
- deterministic custom link order #146 42dbd09
- setext headings 27d72d7
- tables indented and no spaces in cells #142 a3617d6
- skip tables with errors c5f25ef
- render table border below delimiter when no rows 631e03e
- nil check current line 92e1963
- handle imperfectly spaced tables using max width 166a254
- anti-conceal margin abc02f3
- log error when mark is skipped #132 7986be4
- checkbox: position #140 275f289
- code: independent language padding #131 739d845
- full filetype overrides 952b1c0
- basic org-indent-mode behavior #134 277ae65
- wiki links nested in tables 72688ba
- code block background when indented in lists #133 4c823b1 d1cec33
- do not set noref in vim.deepcopy #139
- gate virt_text_repeat_linebreak to neovim >= 0.10.0 98f9965
- account for folds when computing visible range #138 cd0a5ad
- @P1roks
- @Biggybi
- created wiki with examples here
- code block: min_width 4b80b4f
- list bullet: left_pad e455c4f
- preset: obsidian & lazy 96988cc
- pipe table: preset round c4eb6bf
- double & heavy 3bacd99
- heading: left_pad, right_pad, & min_width #121 6392a5d
- heading: border #123 b700269
- heading: width based on level #126 f06d19a
- same buffer in multiple windows #122 1c7b5ee
- link icon in headings #124 f365cef
- provide patch for previous LuaRock v5.0.1
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 ofrender
, no direct translation
- Implement
- Remove
profile
field in favor of benches dcfa033- In order to fix:
profile
field was only meant for development, should not have any users
- In order to fix:
- 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
- In order to fix:
- 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
- Repo has been renamed
markdown.nvim
->render-markdown.nvim
, one can argue this was a long standing bug. Everything internally & externally already used therender 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
- @scottmckendry
- Supported by catppuccin colorscheme #740
- Add additional user command controls to allow lazy loading on command #72 3c36a25
- In order to fix:
RenderMarkdownToggle
->RenderMarkdown toggle
- 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
- 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
- @folke
- @scottmckendry
- @akthe-at
- @jeremija
- @chrisgrieser
- @Zeioth
- @joshuarayton
- @mrcjkb
- Added to LazyVim distribution #4139
- Supported by tokyonight.nvim colorscheme 71429c9
- Supported by cyberdream.nvim colorscheme ba25d43
- Supported by rose-pine colorscheme #303
- Improve handling conealed text for tables, code blocks, and headings. Add 'padded' cell style which fills in concealled 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
- Account for leading spaces in code blocks #60 48083f8
- Use concealled text width for 'raw' table cell style 8c71558
- 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 remaing 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.
- 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 overnvim-web-devicons
353e445 - Support custom checkbox states #42 ff3e8e3
- Support custom callouts 8f5bbbd
- 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
- Get mode at time of event instead of callback execution #36 b556210
- Update health check to work with neovim 0.9.5 64969bc
- Handle block quotes with empty lines #41 6f64bf6
- @AThePeanut4
- 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
- Allow all window options to be configurable between rendered and non rendered view #31 258da4b
- In order to fix:
conceal = { default = <v1>, rendered = <v2> }
->win_options = { conceallevel = { default = <v1>, rendered = <v2> } }
- @masa0x80
- 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
- Allow multiple kinds of table highlight behaviors #21 49f4597
- In order to fix:
fat_tables = true
->table_style = 'full'
fat_tables = false
->table_style = 'normal'
- Add simple logging 467c135
- Make start state configurable #16 #17
- Add unit / kinda integ test b6c4ac7
- Add packer.nvim setup to README #19 9376997
- Update for 0.10.0 (no user impact) 0581a9a
- Disable rendering on large files e96f40d
- Operate at event buffer level rather than current buffer 41b955c
- Fix bullet point rendering with checkbox #18 #22 e38795f
- Disable plugin on horizontal scroll #23 966472e
- @cleong14
- @dvnatanael
- Configurable file types d7d793b
- Add toggle command #4 fea6f3d
- Use buffer parser to handle injections #3 e64255d
- Add latex support #6 138a796 da85a5e
- Support block quotes 106946a
- Make icons bigger for certain font setups #19 38f7cbc
- Support inline code df59836
- Dynamic conceal level #10 c221998
- Add Vimdoc cdc58f5
- Add fat tables option fb00297
- Support list icon based on level #1 #11
- Refactor + latex cache 2b98d16
- Support horizontal break af819f3
- Support checkboxes 90637a1
- Leading spaces in list #2 #5 df98da8
- Passing custom query does not work #7 70f8f4f
- Ignore ordered lists for bullet points #7 f5917d2
- Dynamic heading padding #12 a0da7cf
- @lkhphuc
- @redimp
- @shabaev
- Changes folder from
markdown
torender-markdown
to reduce chances of name collision in require statements 07685a1 - In order to fix:
require('markdown')
->require('render-markdown')