|
1 | | -*render-markdown.txt* For NVIM v0.11.2 Last change: 2025 July 15 |
| 1 | +*render-markdown.txt* For NVIM v0.11.3 Last change: 2025 July 17 |
2 | 2 |
|
3 | 3 | ============================================================================== |
4 | 4 | Table of Contents *render-markdown-table-of-contents* |
@@ -501,24 +501,28 @@ Default Configuration ~ |
501 | 501 | -- Turn on / off any sign column related rendering. |
502 | 502 | sign = true, |
503 | 503 | -- Determines how code blocks & inline code are rendered. |
504 | | - -- | none | disables all rendering | |
505 | | - -- | normal | highlight group to code blocks & inline code, adds padding to code blocks | |
506 | | - -- | language | language icon to sign column if enabled and icon + name above code blocks | |
507 | | - -- | full | normal + language | |
| 504 | + -- | none | disables all rendering | |
| 505 | + -- | normal | background highlighting + padding | |
| 506 | + -- | language | language heading with icon + sign column | |
| 507 | + -- | full | normal + language | |
508 | 508 | style = 'full', |
| 509 | + -- Whether to conceal nodes at the top and bottom of code blocks. |
| 510 | + conceal_delimiters = true, |
| 511 | + -- Turn on / off any language heading related rendering. |
| 512 | + language = true, |
509 | 513 | -- Determines where language icon is rendered. |
510 | 514 | -- | right | right side of code block | |
511 | 515 | -- | left | left side of code block | |
512 | 516 | position = 'left', |
513 | | - -- Amount of padding to add around the language. |
514 | | - -- If a float < 1 is provided it is treated as a percentage of available window space. |
515 | | - language_pad = 0, |
516 | 517 | -- Whether to include the language icon above code blocks. |
517 | 518 | language_icon = true, |
518 | 519 | -- Whether to include the language name above code blocks. |
519 | 520 | language_name = true, |
520 | 521 | -- Whether to include the language info above code blocks. |
521 | 522 | language_info = true, |
| 523 | + -- Amount of padding to add around the language. |
| 524 | + -- If a float < 1 is provided it is treated as a percentage of available window space. |
| 525 | + language_pad = 0, |
522 | 526 | -- A list of language names for which background highlighting will be disabled. |
523 | 527 | -- Likely because that language has background highlights itself. |
524 | 528 | -- Use a boolean to make behavior apply to all languages. |
@@ -1118,24 +1122,28 @@ Code Block Configuration ~ |
1118 | 1122 | -- Turn on / off any sign column related rendering. |
1119 | 1123 | sign = true, |
1120 | 1124 | -- Determines how code blocks & inline code are rendered. |
1121 | | - -- | none | disables all rendering | |
1122 | | - -- | normal | highlight group to code blocks & inline code, adds padding to code blocks | |
1123 | | - -- | language | language icon to sign column if enabled and icon + name above code blocks | |
1124 | | - -- | full | normal + language | |
| 1125 | + -- | none | disables all rendering | |
| 1126 | + -- | normal | background highlighting + padding | |
| 1127 | + -- | language | language heading with icon + sign column | |
| 1128 | + -- | full | normal + language | |
1125 | 1129 | style = 'full', |
| 1130 | + -- Whether to conceal nodes at the top and bottom of code blocks. |
| 1131 | + conceal_delimiters = true, |
| 1132 | + -- Turn on / off any language heading related rendering. |
| 1133 | + language = true, |
1126 | 1134 | -- Determines where language icon is rendered. |
1127 | 1135 | -- | right | right side of code block | |
1128 | 1136 | -- | left | left side of code block | |
1129 | 1137 | position = 'left', |
1130 | | - -- Amount of padding to add around the language. |
1131 | | - -- If a float < 1 is provided it is treated as a percentage of available window space. |
1132 | | - language_pad = 0, |
1133 | 1138 | -- Whether to include the language icon above code blocks. |
1134 | 1139 | language_icon = true, |
1135 | 1140 | -- Whether to include the language name above code blocks. |
1136 | 1141 | language_name = true, |
1137 | 1142 | -- Whether to include the language info above code blocks. |
1138 | 1143 | language_info = true, |
| 1144 | + -- Amount of padding to add around the language. |
| 1145 | + -- If a float < 1 is provided it is treated as a percentage of available window space. |
| 1146 | + language_pad = 0, |
1139 | 1147 | -- A list of language names for which background highlighting will be disabled. |
1140 | 1148 | -- Likely because that language has background highlights itself. |
1141 | 1149 | -- Use a boolean to make behavior apply to all languages. |
|
0 commit comments