Skip to content

Commit 9d13bfc

Browse files
Update changelog, minor code change
1 parent a273033 commit 9d13bfc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@
4040
- Improve lazy.nvim instructions [#80](https://github.com/MeanderingProgrammer/markdown.nvim/pull/80)
4141
- Improve LaTeX compatibility [#90](https://github.com/MeanderingProgrammer/markdown.nvim/pull/90)
4242
[695501b](https://github.com/MeanderingProgrammer/markdown.nvim/commit/695501bd98b1f2ec052889fc4faef24dedd7091b)
43-
- Heading block width: [#94](https://github.com/MeanderingProgrammer/markdown.nvim/pull/94)
43+
- Heading block width [#94](https://github.com/MeanderingProgrammer/markdown.nvim/pull/94)
4444
[426b135](https://github.com/MeanderingProgrammer/markdown.nvim/commit/426b13574c8264636e5660e5f5a3b4f5e3d5a937)
45+
- Alignment indicator for pipe tables [#91](https://github.com/MeanderingProgrammer/markdown.nvim/issues/91)
46+
[a273033](https://github.com/MeanderingProgrammer/markdown.nvim/commit/a27303384570b85ee4538fa5f30eb418fef01ec7)
4547

4648
### Bug Fixes
4749

lua/render-markdown/handler/markdown.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ function M.render_table_full(buf, parsed_table)
660660

661661
-- Do not need to account for concealed / inlined text on delimiter row
662662
local delim_width = str.width(parsed_table.delim.text)
663-
if delim_width ~= width(parsed_table.head) or delim_width ~= width(last) then
663+
if delim_width ~= width(first) or delim_width ~= width(last) then
664664
return {}
665665
end
666666

0 commit comments

Comments
 (0)