mohzy83 / NppMarkdownPanel

Lightweight Notepad++ plugin to preview Markdown files
MIT License
224 stars 36 forks source link

Support for Latex equations? #25

Closed czdiao closed 2 years ago

czdiao commented 4 years ago

Hi! I am a user of this nice plugin and I quite like it. I am using the latest version 0.5.0 on windows 10. However, I find it is not supporting the math equations using simple Latex syntax on my computer. I use this feature quite often as my markdown files contain a lot of Greek letters and math equations.

Is this feature supported in this plugin? If not, is it possible for you to add it? Or is there any way that I can make it work on my computer?

Thanks a lot! William

mohzy83 commented 2 years ago

Thats beyond the scope of this plugin. Just create images from those equations and embed them into your markdown file.

andrzejQ commented 2 years ago

I think it is working: https://github.com/andrzejQ/NppMarkdownPanel/tree/RegExp/NppMarkdownPanel/Resources/_posts "2018-11-06-Test-MD-TeX2jax.md"

asmwarrior commented 7 months ago

I think it is working: https://github.com/andrzejQ/NppMarkdownPanel/tree/RegExp/NppMarkdownPanel/Resources/_posts "2018-11-06-Test-MD-TeX2jax.md"

Hi, can you explain how to do that inside the Notepad++ editor.

Do I need to directly download the md file you mentioned,

https://raw.githubusercontent.com/andrzejQ/NppMarkdownPanel_RegExp_arch/RegExp/NppMarkdownPanel/Resources/_posts/2018-11-06-Test-MD-TeX2jax.md

and open it under Notepad++ with NppNarkdownPanel enabled?

Thanks.

andrzejQ commented 7 months ago

Resources/nppMdP.tests/Test-MD-TeX2jax.md - [Download row file] and open it in N++. It is working with MarkdownPanel 7.3+

https://github.com/andrzejQ/NppMarkdownPanel_RegExp_arch/blob/RExp072/NppMarkdownPanel/Resources/nppMdP.tests/Test-MD-TeX2jax.md

asmwarrior commented 7 months ago

Resources/nppMdP.tests/Test-MD-TeX2jax.md - [Download row file] and open it in N++. It is working with MarkdownPanel 7.3+

https://github.com/andrzejQ/NppMarkdownPanel_RegExp_arch/blob/RExp072/NppMarkdownPanel/Resources/nppMdP.tests/Test-MD-TeX2jax.md

Hi, thanks for the reply. Unluckily, I already did that, but that dose not work because in my Windows 7 64bit system, it jumps some message box saying that the script has some errors and can't be executed. I checked that my OS has IE8 as the web browser.

andrzejQ commented 7 months ago

Maybe download older binaries of MarkdownPanel and replace them in c:\Program Files\Notepad++\plugins\NppMarkdownPanel\ Or try editing a lower version in ...libs/mathjax/2.7.5/...

mohzy83 commented 7 months ago

Please run this command with cmd.exe : reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer" /v svcVersion This should print your current IE version. You need at least IE 11...

asmwarrior commented 7 months ago

Please run this command with cmd.exe : reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer" /v svcVersion This should print your current IE version. You need at least IE 11...

Hi, I just run the command in the cmd.exe, and the results is that I don't have such entry in the registry.

In-fact, I have only IE 8, not IE 11 in this PC.

Thanks for the help.

Maybe download older binaries of MarkdownPanel and replace them in c:\Program Files\Notepad++\plugins\NppMarkdownPanel\ Or try editing a lower version in ...libs/mathjax/2.7.5/...

Hi, thanks. I have tried many older mathjax versions yesterday, such as 2.6.1, but still no success. So I finally give up...