Community
    • Login

    Latex in markdown not working in npp 8.9.6.4 (64 bits)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 192 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mario LemelinM Offline
      Mario Lemelin
      last edited by

      Hello everyone,
      I have installed the markdown plug-in and everything work fine except for the equations in latex. For example, this should work:

      $$
      \frac{dg^i}{dt}=\beta^i(g)
      $$

      but the Markdown Panel (MarkdownViewer++ 0.8.2) show this:

      [ \frac{dg^i}{dt}=\beta^i(g) ]

      What is happening. I visited this site:
      but was unablew to find help.

      Thank you in advance for any help you can give.
      Mario

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Mario Lemelin
        last edited by PeterJones

        @Mario-Lemelin ,

        everything work fine except for the equations in latex

        Not all Markdown processors understand LaTeX. (For example, the Markdown processor for this forum does not.) It appears that MarkdownViewer++ does not have that feature (which doesn’t surprise me).

        I visited this site (https://github.com/npp-plugins/plugintemplate) but was unablew to find help.

        That site is just the repository for the C++ template for creating a plugin. It’s not going to have information on how to use any specific plugin.

        The home for MarkdownViewer++ is https://github.com/nea/MarkdownViewerPlusPlus , so that’s where you’d have to go. But the author has recently set the repo to “read only”, indicating that they are unwilling to support that plugin any more.

        However, there are other Markdown plugins available from Plugins Admin. I’ve never used them, but two I see include

        • NppMarkdownPanel @ https://github.com/mohzy83/NppMarkdownPanel
        • AnotherMarkdown @ https://github.com/ezyuzin/NppAnotherMarkdown
          • this appears to be a fork of NppMarkdownPanel with a different feature set.
          • when I look at its README, it mentions the ability to use katex for math (I think it’s an option that you’d have to enable by editing a config file for the plugin; you’d want to experiment and read the documentation for that plugin to be sure) – and a quick look at the katex description implies to me that it’s essentially LaTeX compatible syntax.

        You can install either of those from the Plugins Admin interface. It may be that one of those will do what you need (my bet would be on the second as your best chance).

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors