-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text styling (color, bold, italic, underline etc) #266
Comments
You can apply markdown highlighting as detailed in the README, which will allow injecting code blocks Lines 123 to 129 in 5371f4b
|
It took me years to find this, and finally I found it. you can require "notify"({ "`a` does not exist.", "```python", "print(a)", "```" }, "info", {
title = "test",
on_open = function(win)
vim.wo[win].conceallevel = 3
vim.wo[win].concealcursor = "n"
vim.wo[win].spell = false
vim.treesitter.start(vim.api.nvim_win_get_buf(win), "markdown")
end,
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This example image is used in the nvim-notify README.md:
I wonder how the
g:my_cool_setting
gets its orange color and how the code is highlighted. I wonder if it's possible to style text to give it a custom color make it bold or italic.The text was updated successfully, but these errors were encountered: