File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
lua/neorg/modules/core/math/renderer Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,6 @@ module.setup = function()
4141 " core.neorgcmd" ,
4242 " core.highlights" ,
4343 },
44- wants = {
45- " core.math.renderer.latex" ,
46- },
4744 }
4845end
4946
110107module .load = function ()
111108 local success , image_api = pcall (neorg .modules .get_module , module .config .public .image_renderer )
112109 assert (success , " Unable to load image_renderer module" )
113- local ok , math_image_generator = pcall ( neorg .modules .get_module , module .config .public .image_generator )
110+ local ok = neorg .modules .load_module ( module .config .public .image_generator )
114111 assert (ok , " Unable to load image_generator module" )
112+ local math_image_generator = neorg .modules .get_module (module .config .public .image_generator )
115113
116114 nio = require (" nio" )
117115
You can’t perform that action at this time.
0 commit comments