Skip to content

Core Latex Renderer

github-actions[bot] edited this page Apr 12, 2024 · 5 revisions

core.latex.renderer

Rendering LaTeX with image.nvim

Overview

This is an experimental module that requires nvim 0.10+. It renders LaTeX snippets as images making use of the image.nvim plugin. By default, images are only rendered after running the command: :Neorg render-latex.

Requires image.nvim.

Configuration

  • conceal
    (boolean)

    When true, images of rendered LaTeX will cover the source LaTeX they were produced from

    true
  • dpi
    (number)

    "Dots Per Inch" increasing this value will result in crisper images at the expense of performance

    350
  • render_on_enter
    (boolean)

    When true, images will render when a .norg buffer is entered

    false
  • renderer
    (string)

    Module that renders the images. This is currently the only option

    "core.integrations.image"
  • scale
    (number)

    Make the images larger or smaller by adjusting the scale

    1

Required Modules