diff --git a/lua/neorg/modules/core/math/renderer/latex/module.lua b/lua/neorg/modules/core/math/renderer/latex/module.lua index 093fc3f72..1c4ae5a8d 100644 --- a/lua/neorg/modules/core/math/renderer/latex/module.lua +++ b/lua/neorg/modules/core/math/renderer/latex/module.lua @@ -1,5 +1,5 @@ --[[ - file: Core-Math-Renderer-LaTeX + file: Math-Renderer-LaTeX title: Convert LaTeX snippets into image files summary: A module that provides images of LaTeX for `core.math.renderer` --- @@ -14,7 +14,7 @@ Requires: - graphicx - `dvipng` executable in path (normally comes with LaTeX) -A highlight group that controls the foreground color of the rendered math: `@norg.rendered.latex`, +A highlight group that controls the foreground color of the rendered math: `@neorg.rendered.math`, configurable in `core.highlights`. It links to `Normal` by default Note, when `'concealcursor'` contains `"n"` This plugin will fail for the time being. @@ -23,8 +23,6 @@ local nio local neorg = require("neorg.core") local module = neorg.modules.create("core.math.renderer.latex") -assert(vim.re ~= nil, "Neovim 0.10.0+ is required for the `core.math.renderer.latex` module!") - module.load = function() nio = require("nio") end diff --git a/lua/neorg/modules/core/math/renderer/module.lua b/lua/neorg/modules/core/math/renderer/module.lua index 585e9f32a..7bf779672 100644 --- a/lua/neorg/modules/core/math/renderer/module.lua +++ b/lua/neorg/modules/core/math/renderer/module.lua @@ -1,5 +1,5 @@ --[[ - file: Core-Math-Renderer + file: Math-Renderer title: Conceal Math ranges with their rendered versions summary: An experimental module for rendering inline math blocks ---