You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Details
Request: #510
Users would like the ability skip rendering `markdown` code blocks
inside of `markdown` files. This is in order to make it appear more
distinct from the overall context of the markdown file, to some extent
treating it more like code than a document.
For now I've made disabling the nested rendering opt-in, via the top
level `nested` option which has a default value of `true`. To disable
nested rendering:
```lua
require('render-markdown').setup({
nested = false,
})
```
I initially thought this feature would be more complex to implement due
to how we traverse the individual `markdown` trees, however using the
`LanguageTree:parent()` API we can count the number of `markdown` trees
on our path to the root node skip nodes that are `> 1` level deep.
Note: opting in to the feature has a small performance penalty as we
must check whether trees are nested for each individual tree, which for
`markdown` includes all the `inline` nodes.
- add scope_highlight to wiki config [ca86b59](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/ca86b5941a56b04ac140837ee7a366cf3fa5cd88)
12
12
- add cell_offset function to pipe_table configuration [e5c3c50](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/e5c3c500d66e9aaf04c116cdfdb0b040d56a1521)
13
+
- inline render single line latex equations [#508](https://github.com/MeanderingProgrammer/render-markdown.nvim/issues/508)
0 commit comments