set to use the command line convert the current file to html and preview it

Make a request or discuss new features.
Post Reply
lincpa
Posts: 5
Joined: 07 May 2021 08:48

set to use the command line convert the current file to html and preview it

Post by lincpa »

I hope to add a feature:
set to use the command line (or various python, perl scripts, etc.,) according to the file type to convert the current file to html and preview it.
The html preview window will become a magic showcase.

1. python.exe convert.py current-file current-file.html
2. pandoc.exe current-file current-file.html
Last edited by lincpa on 09 May 2021 06:41, edited 1 time in total.

lincpa
Posts: 5
Joined: 07 May 2021 08:48

Re: set to use the command line convert the current file to html and preview it

Post by lincpa »

example:

data (and data of data struct when programming) previewer:
python.exe user_def_convert.py xxx.csv xxx.html
python.exe user_def_convert.py xxx.json xxx.html

data->plot(R language ggplot2 lib etc.):

Rscript.exe user_def_data2plot.r xxx.csv xx.html

db query :
python.exe user_def_query.py xxx.sql xxx.html

other doc preview:

pandoc.exe xxx.man xxx.html
pandoc.exe xxx.rst xxx.html

Run the current-script automatically and display the html result

Webapp test

lincpa
Posts: 5
Joined: 07 May 2021 08:48

Re: set to use the command line convert the current file to html and preview it

Post by lincpa »

just like Notepad++ Preview HTML plugins:

Edit hiccup DSL with live preview using Babashka, Notepad++ with Preview HTML plugin.

https://www.reddit.com/r/Clojure/commen ... _babashka/

User avatar
Rickard Johansson
Site Admin
Posts: 6091
Joined: 19 Jul 2006 14:29

Re: set to use the command line convert the current file to html and preview it

Post by Rickard Johansson »

I'll take a look at it after the release of v14.80. Thanks!

lincpa
Posts: 5
Joined: 07 May 2021 08:48

Re: set to use the command line convert the current file to html and preview it

Post by lincpa »

Thank you for creating an excellent software!

Post Reply