@@ -810,16 +810,20 @@ require('render-markdown').setup({
810810 wiki = {
811811 -- Turn on / off WikiLink rendering.
812812 enabled = true ,
813+ -- Inlined with content.
813814 icon = ' ' ,
815+ -- Custom processing for WikiLink body to show.
814816 body = function ()
815817 return nil
816818 end ,
819+ -- Applies to the inlined icon.
817820 highlight = ' RenderMarkdownWikiLink' ,
821+ -- Highlight for item associated with the WikiLink.
818822 scope_highlight = nil ,
819823 },
820824 -- Define custom destination patterns so icons can quickly inform you of what a link
821- -- contains. Applies to 'inline_link', 'uri_autolink', and wikilink nodes. When multiple
822- -- patterns match a link the one with the longer pattern is used.
825+ -- contains. Applies to 'image', ' inline_link', 'uri_autolink', and WikiLink nodes.
826+ -- When multiple patterns match a link the one with the longer pattern is used.
823827 -- The key is for healthcheck and to allow users to change its values, value type below.
824828 -- | pattern | matched against the destination text |
825829 -- | icon | gets inlined before the link text |
@@ -1598,16 +1602,20 @@ require('render-markdown').setup({
15981602 wiki = {
15991603 -- Turn on / off WikiLink rendering.
16001604 enabled = true ,
1605+ -- Inlined with content.
16011606 icon = ' ' ,
1607+ -- Custom processing for WikiLink body to show.
16021608 body = function ()
16031609 return nil
16041610 end ,
1611+ -- Applies to the inlined icon.
16051612 highlight = ' RenderMarkdownWikiLink' ,
1613+ -- Highlight for item associated with the WikiLink.
16061614 scope_highlight = nil ,
16071615 },
16081616 -- Define custom destination patterns so icons can quickly inform you of what a link
1609- -- contains. Applies to 'inline_link', 'uri_autolink', and wikilink nodes. When multiple
1610- -- patterns match a link the one with the longer pattern is used.
1617+ -- contains. Applies to 'image', ' inline_link', 'uri_autolink', and WikiLink nodes.
1618+ -- When multiple patterns match a link the one with the longer pattern is used.
16111619 -- The key is for healthcheck and to allow users to change its values, value type below.
16121620 -- | pattern | matched against the destination text |
16131621 -- | icon | gets inlined before the link text |
@@ -1740,9 +1748,9 @@ The table below shows all the highlight groups with their default link
17401748| RenderMarkdownMath | @markup .math | Latex lines |
17411749| RenderMarkdownIndent | Whitespace | Indent icon |
17421750| RenderMarkdownHtmlComment | @comment | HTML comment inline text |
1743- | RenderMarkdownLink | @markup .link.label.markdown_inline | Link icons |
1744- | RenderMarkdownLinkTitle | @markup .link.markdown_inline | Link titles |
1745- | RenderMarkdownWikiLink | RenderMarkdownLink | WikiLink icon & text |
1751+ | RenderMarkdownLink | @markup .link.label.markdown_inline | Link icon |
1752+ | RenderMarkdownLinkTitle | @markup .link.markdown_inline | Link title |
1753+ | RenderMarkdownWikiLink | RenderMarkdownLink | WikiLink icon |
17461754| RenderMarkdownUnchecked | @markup .list.unchecked | Unchecked checkbox |
17471755| RenderMarkdownChecked | @markup .list.checked | Checked checkbox |
17481756| RenderMarkdownTodo | @markup .raw | Todo custom checkbox |
0 commit comments