MeanderingProgrammer / MeanderingProgrammer/render-markdown.nvim

feature: Alternating background in rendered table rows

Open
#653 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
5.1k
Forks
141
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

I'm loving the plugin overall and the only missing part for me is that table rows are a little hard to visually parse for me

Describe the solution you'd like

I know that adding horizontal lines between rows is not acceptable https://github.com/MeanderingProgrammer/render-markdown.nvim/issues/295 but as an alternative I'd like to propose ability to set alternating background color for the table rows.

I'd be willing to try to implement this feature with minimal guidance where should I look in the code.

Describe alternatives you've considered

currently I'm rendering the markdown in the browser when looking into the tables which is not ideal ;)

Additional information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code responsible for rendering table rows and the existing configuration or highlight handling for tables. Check how a row's position can determine its background and identify any relevant tests. Done means users can configure alternating row backgrounds without adding horizontal lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.