-
Notifications
You must be signed in to change notification settings - Fork 39
Block quotes
Shawon edited this page Aug 31, 2024
·
5 revisions
block_quotes = {
enable = true,
default = {
border = "▋",
},
callouts = nil
}
-
enable,
boolean
or nilFor disabling rendering of block quotes.
-
default,
table
Default Configuration for block quotes. It has the following options,
- border, used to hide
>
. - border_hl, highlight group for border.
- border, used to hide
-
callouts,
table
or nilA list containing configuration table for callouts/alerts.
{
match_string = "",
callout_preview = "",
callout_preview_hl = nil,
custom_title = false,
custom_icon = nil,
border = "▋",
border_hl = nil
}
-
match_string,
string
ortable
String to use as the match pattern.
-
callout_preview,
string
Text to show on the first line.
-
callout_preview_hl,
string
or nilhighlight group for callout_preview. Also applies to custom titles.
-
custom_title,
boolean
or nilAllows showing the title of a callout instead of the preview string.
-
custom_icon,
string
or nilIcon to add before custom_title.
-
border,
string
String to use as the callout's border.
-
border_hl,
string
or nilHighlight group for border.