Comments (5)
The PreProcessorExe
and PostProcessorExe
can be any commandline program.
Maybe the documention is not clear enough about that point.
Actually your configration should work when the python executable accepts the parameters in that order.
from nppmarkdownpanel.
Thank you for your reply and work!
According to NppMarkdownPanel.ini, it can choose a different ProcessorExe configuration based on the file extension, just like Preview HTML's Filters.ini, right?
From the default [Filter0] of NppMarkdownPanel.ini, it seems that the configuration name is a bit different.
NppMarkdownPanel.ini
; [Filter0]
; Extensions=.pl,.pm
; Program=pod2html.bat
; Arguments=--css C:\notepad++\plugins\NppMarkdownPanel\style.css
[Filter1]
Extensions=.xyz
Arguments=--css C:\notepad++\plugins\NppMarkdownPanel\style.css
PreProcessorExe=C:\python.exe
PreProcessorArguments=C:\ConvertxxxTOxxx.py %inputfile% %outputfile%
PostProcessorExe=C:\python.exe
PostProcessorArguments=C:\ConvertyyyTOyyy.py %inputfile% %outputfile%
[Filter2]
Extension=.hiccup, .hip
;Program=C:\dev\Notepad++\tools\comrak\comrak.exe
;bb.exe from https://github.com/babashka/babashka
PreProcessorExe=C:\Notepad++\tools\clj\bb.exe
PreProcessorArguments=C:\Notepad++\tools\clj\hiccup2html.clj %inputfile% %outputfile%
hiccup2html.clj
(use 'hiccup.core)
(let [[inputfile outputfile] *command-line-args*
f #(spit outputfile % :encoding "utf-8")]
(->> inputfile
slurp
read-string
eval
html
f))
test.hiccup
[:p
[:h1 "List"]
[:ul
(for [x (range 1 4)]
[:li x])]
[:p "Hello, world!"]]
preview is wrong
[:p[:h1 "List"] [:ul (for [x (range 1 4)] [:li x])] [:p "Hello, world!"]]
update01:
- hiccup2html.clj
from nppmarkdownpanel.
NppMarkdwonPanel and PreviewHTML both work fine under win7, but not under win11. It may be a problem with npp or OS.
Here is the configuration that works under win7:
NppMarkdownPanel.ini
[Options]
CssFileName=style.css
CssDarkModeFileName=style-dark.css
ZoomLevel=301
HtmlFileName=
ShowToolbar=True
ShowStatusbar=True
SupportedFileExt=md,mkd,mdwn,mdown,mdtxt,markdown,text,hiccup
AutoShowPanel=False
SyncViewWithCaretPosition=0
SyncWithFirstVisibleLine=0
PreProcessorExe=C:\Notepad++\tools\clj\bb.exe
PreProcessorArguments=C:\Notepad++\tools\clj\hiccup2html_mdpanel.clj %inputfile% %outputfile%
hiccup2html_mdpanel.clj
(use 'hiccup.core)
(let [[inputfile outputfile] *command-line-args*
f #(spit outputfile % :encoding "utf-8")]
(->> inputfile
slurp
read-string
eval
html
f))
test.hiccup
[:p
[:h1 "List"]
[:ul
(for [x (range 1 4)]
[:li x])]
[:p "Hello, world!"]]
from nppmarkdownpanel.
I'm working with Win11 and have no problems so far.
Please specify your problem.
from nppmarkdownpanel.
Microsoft is phasing out IE in Windows 11, so some Windows 11 users cannot use the IE kernel-based notepad++ plugin.
from nppmarkdownpanel.
Related Issues (20)
- Meta tags in generated html not closed HOT 1
- [Future request] The MarkdownViewer++ does not render the latex equation HOT 2
- [Feature Request] Pandoc post-processing via Save As... HOT 1
- Table of Contents (TOC) option HOT 1
- Local relative path not working with img tag HOT 2
- Error on execution in Markdown Panel. HOT 1
- Feature Request: Links whitin the same document HOT 2
- Auto update Markdownviewer preview panel not working anymore HOT 4
- Dark-mode .css anchor color is ignored when rendered in Notepad++ but displayed correctly in exported HTML
- Unable to display special characters HOT 4
- `NppTbData.pszModuleName` is not properly assigned when Markdown panel is docked
- The keyboard shortcuts are not working on the Markdown Panel. HOT 1
- Deprecated...
- Deprecated...
- Proposal - ID as combination of tag name and id number HOT 1
- Local images preview has dont work HOT 1
- preview scroll position is not preserved when switching to another file then back to markdown file
- Undocking the viewer from its default position crashes NotePad++
- Always render fenced code blocks (solved) HOT 3
- Limiting to particular file extensions is too limiting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nppmarkdownpanel.