|
1 | | -*render-markdown.txt* For 0.10.0 Last change: 2024 December 13 |
| 1 | +*render-markdown.txt* For 0.10.0 Last change: 2024 December 24 |
2 | 2 |
|
3 | 3 | ============================================================================== |
4 | 4 | Table of Contents *render-markdown-table-of-contents* |
@@ -447,9 +447,13 @@ Default Configuration ~ |
447 | 447 | -- The icon gets repeated across the window's width |
448 | 448 | icon = '─', |
449 | 449 | -- Width of the generated line: |
450 | | - -- <integer>: a hard coded width value |
451 | | - -- full: full width of the window |
| 450 | + -- <number>: a hard coded width value, if a floating point value < 1 is provided it is |
| 451 | + -- treated as a percentage of the available window space |
| 452 | + -- full: full width of the window |
452 | 453 | width = 'full', |
| 454 | + -- Amount of margin to add to the left of dash |
| 455 | + -- If a floating point value < 1 is provided it is treated as a percentage of the available window space |
| 456 | + left_margin = 0, |
453 | 457 | -- Highlight for the whole line generated from the icon |
454 | 458 | highlight = 'RenderMarkdownDash', |
455 | 459 | }, |
@@ -929,9 +933,13 @@ Dashed Line Configuration ~ |
929 | 933 | -- The icon gets repeated across the window's width |
930 | 934 | icon = '─', |
931 | 935 | -- Width of the generated line: |
932 | | - -- <integer>: a hard coded width value |
933 | | - -- full: full width of the window |
| 936 | + -- <number>: a hard coded width value, if a floating point value < 1 is provided it is |
| 937 | + -- treated as a percentage of the available window space |
| 938 | + -- full: full width of the window |
934 | 939 | width = 'full', |
| 940 | + -- Amount of margin to add to the left of dash |
| 941 | + -- If a floating point value < 1 is provided it is treated as a percentage of the available window space |
| 942 | + left_margin = 0, |
935 | 943 | -- Highlight for the whole line generated from the icon |
936 | 944 | highlight = 'RenderMarkdownDash', |
937 | 945 | }, |
|
0 commit comments