forked from MeanderingProgrammer/render-markdown.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Add border style to code blocks, use thin by default
## Details Request: MeanderingProgrammer#62 Rather than using a highlight group for the entire range of code blocks allow half height characters to be used when start and end of code block are entirely concealed. This involves using the inverse of the code highlight group and repeating the configured characters across the width. Allow using the original implementation with `{ border = 'thick' }`. When rendering the body we now need to be aware of how the language was rendered, since placing a language above the code block interferes with the half height row. To fix this we need to handle the language from the top level code block logic, instead of using 2 separate capture groups for code block & language. Add sign configuration to README as well.
- Loading branch information
1 parent
5ce3566
commit 3114d70
Showing
15 changed files
with
268 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.