-
Notifications
You must be signed in to change notification settings - Fork 39
Presets
Presets are configuration tables
that you can use to quickly customise various parts of the plugin.
They can be used by requiring the presets file and using the values in the setup()
function.
Example usage,
local presets = require("markview.presets");
require("markview").setup({
headings = presets.headings.glow
});
The plugin provides quite a few presets for headings such as,
Adds Glow-like
headings to the previewer.
Unlike glow this one will also add decorations to all heading levels.
Adds decorations to the headings.
Adds simple background color to the headings.
Like simple but removes the leading #
of headings.
There are a few presets for various borders of tables such as,
Replaces table borders with whitespaces
.
Only adds border to the table_headers
Like the border="single"
of floating windows. Doesn't use rounded corners.
Makes the border corners thicker to stand out more.
Like the border="double"
of floating windows.