DONE: 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

DONE: 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: 6575
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!
User avatar
Rickard Johansson
Site Admin
Posts: 6575
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 »

Thai was added in v14.90.4.
User avatar
pjj
Posts: 2108
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

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

Post by pjj »

ที่เยี่ยมมาก! ชื่นชมมาก!
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6575
Joined: 19 Jul 2006 14:29

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

Post by Rickard Johansson »

You're welcome :-D

It should have been "That was added in v14.90.4".
User avatar
pjj
Posts: 2108
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

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

Post by pjj »

Of course, but I try not to miss a single occasion for cracking a joke :lol:
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Post Reply