-
Notifications
You must be signed in to change notification settings - Fork 45
Tables
MeanderingProgrammer edited this page Oct 15, 2024
·
11 revisions
Raw data being used:
# Table
| `Left` | *Center* | Right | Default |
| :--- | :----: |-------:| --------|
| `Code` | **Bold** | ~~Strike~~ |Item |
| Item | [Link](/test) | Item | Item |
| 1| 2 | 3 | 4 |
require('render-markdown').setup({
pipe_table = {
enabled = true,
preset = 'none',
style = 'full',
cell = 'padded',
padding = 1,
min_width = 0,
border = {
'┌', '┬', '┐',
'├', '┼', '┤',
'└', '┴', '┘',
'│', '─',
},
alignment_indicator = '━',
head = 'RenderMarkdownTableHead',
row = 'RenderMarkdownTableRow',
filler = 'RenderMarkdownTableFill',
},
})
require('render-markdown').setup({
pipe_table = { style = 'normal' },
})
require('render-markdown').setup({
pipe_table = { min_width = 12 },
})
require('render-markdown').setup({
pipe_table = { preset = 'round' },
})
require('render-markdown').setup({
pipe_table = { preset = 'double' },
})
require('render-markdown').setup({
pipe_table = { preset = 'heavy' },
})
require('render-markdown').setup({
pipe_table = {
border = { '╓', '╥', '╖', '╟', '╫', '╢', '╙', '╨', '╜', '║', '─' },
},
})
require('render-markdown').setup({
pipe_table = { alignment_indicator = '┅' },
})
require('render-markdown').setup({
pipe_table = { cell = 'trimmed' },
})
require('render-markdown').setup({
pipe_table = { cell = 'raw' },
})
require('render-markdown').setup({
pipe_table = { cell = 'overlay' },
})