Problems with markup rendering #1312
Replies: 4 comments 3 replies
-
recently, upstream nvim-treesitter moved from |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, i am using the default nvim theme and a custom iterm2 colorscheme, headings render properly in neorg but underline, strikethrough, bold, italic... doesn't. I have tried everything. The only solution seems to be installing tokyonight theme but i like my colorscheme and don't want to change it and keep my terminal colorscheme in nvim. What can i do? i understand the @markup.* but i have no idea how to change it. @ALVAROPING1 could you help? |
Beta Was this translation helpful? Give feedback.
-
For those who don't know what the **** is going on, here's an explanation on Discord.
TLDR; upgrade to nightly is the easiest way to fix. If you can't or don't want to, use @ALVAROPING1 's snippet. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the slow answer everyone! And thanks for the help. I am going to add my own solution here, which is a minimal version of @ALVAROPING1 's, plus some custom conceal settings. I am going to close this, since the issue seems to be solved for everyone.
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
This is my first time posting an issue/discussion on GitHub, so please forgive me if this has already been answered.
The problem
Bold, italics, links, and strike-through elements do not render at all. There is no difference from the normal text.
Solutions I've tried
Inspecting (:inspect) these elements. This is what I get:
@neorg.markup.bold.norg links to @markup
@neorg.markup.italic.norg links to @markup
@neorg.links.description.norg links to @markup
@neorg.markup.strikethrough.norg links to @markup
Check the highlight settings of these elements (:hi). This is what I get:
@neorg.markup.bold xxx links to @markup.strong
@neorg.markup.italic xxx links to @markup.italic
@neorg.links.description xxx links to @markup.link.url
@neorg.markup.strikethrough xxx links to @markup.strikethrough
Verify how these settings are applying in md files, where text formatting seems to be working well:
@text.strong.markdown_inline links to @text.strong
@text.emphasis.markdown_inline links to @text.emphasis
@text.uri.markdown_inline links to @text.uri
@text.strike.markdown_inline links to @text.strike
Try different concealer settings
By setting concealer=2, the special symbols disappear and the links are properly hidden, but there is still no change in how the markup renders.
My setup
OS: Ubuntu 22.04
Editor: Nvim v0.9.4
Major config: NvChad
Thanks so much for the help!
Beta Was this translation helpful? Give feedback.
All reactions