On occasion, I’ll have to work with markdown files, sometimes with inline LaTeX. I’m surprised how limited my options are, or I’m looking in the wrong places. Pandoc does the job, but the lack of a integrated graphical workflow isn’t my cup of tea.

Has anyone found a good graphical markdown editor that can handle inline LaTeX and doesn’t pull a gigabyte of dependencies? Preferably also can render the final output to PDF.

  • IrritableOcelot@beehaw.org
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 days ago

    Zettlr! Its designed around writing manuscripts in markdown+latex, then exporting to pure LaTeX, PDF, or any other Pandoc-supported format via a builtin Pandoc GUI. The only thing that doesn’t work particularly well is the table editor, but they’re working on it.

    It is electron based, but almost all graphical editors for markdown + inline latex are (obsidian, etc.) because MathJax & KaTeX are the most mature method to render LaTeX inside other document formats.

    Obsidian is also good, but it’s not FOSS and their built-in export isn’t great.

  • rutrum@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    Ive started writing in typst. Its simple enough when doing not so complicated things, but an entire ecosystem is available the moment I want to do something complicated. But it does not have LOCAL graphical editor, but there is an online version you can use. Ive never tried it.

  • enemenemu@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 days ago

    What is inline latex? Do you just mean math, or do you really use latex functions?

    Do you really have to use latex or can’t you already migrate to typst?

    For raw markdown I can recommend any text editor I guess. I use vscode/codium the most.

    • monovergent 🛠️@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      18 hours ago

      Math, particularly snippets from larger manuscripts and documentation thrown around between colleagues. Can’t really predict when they send a .tex and when they send a .md for review.

      • enemenemu@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 hours ago

        Vscode is a good one. You may want eto use extensions. You can then drop texstudio as well.

        If you are looking for WYSIWYG, marktext is great. But there are lots of markdown editors.

        Iirc, Kde also published one last year which looked neat

        If you are curious, zed might be the editor of the future.

  • Daniel Quinn@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    22 hours ago

    I don’t know about LaTeX support, but Joplin supports a lot of Markdown extensions out of the box (I’ve used it for Mermaid charts for example) and it’s Free software.

    Edit: it looks like Joplin supports something called Katex. I don’t know if that does it for you.

    Full details are here