yes, you can do this:
echo -e "\n\n\n==Hello==\n//blabla//" | txt2tags -t html -
and if you want to write the html output:
echo -e "\n\n\n==Hello==\n//blabla//" | txt2tags -t html - > out.html
(from
http://txt2tags.org/userguide/TheThreeUserInterfacesGuiWebandCommandLine.html)
Eric
________________________________
De : gui b <[email protected]>
À : [email protected]
Envoyé le : Mardi 9 avril 2013 13h19
Objet : [t2t] txt2tags in a python script
Hi,
I would like to create a python script that uses a variable as input for
txt2tags without the creation of a t2t file. Is it possible?
Thanks
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list