Re: [t2t] txt2tags in a python script

2013-04-09 Thread gui b
Thanks a lot ! txt2tags is really awesome :) 2013/4/10 Florent Gallaire > Works for txt2tags 2.6, but the trunk is broken (since the template patch). > > On Wed, Apr 10, 2013 at 1:58 AM, Aurelio Jargas wrote: > > Yes, you can. Please see the two samples in the samples/module directory. > > >

Re: [t2t] txt2tags in a python script

2013-04-09 Thread Florent Gallaire
Works for txt2tags 2.6, but the trunk is broken (since the template patch). On Wed, Apr 10, 2013 at 1:58 AM, Aurelio Jargas wrote: > Yes, you can. Please see the two samples in the samples/module directory. > > https://code.google.com/p/txt2tags/source/browse/trunk#trunk%2Fsamples%2Fmodule > > >

Re: [t2t] txt2tags in a python script

2013-04-09 Thread Aurelio Jargas
Yes, you can. Please see the two samples in the samples/module directory. https://code.google.com/p/txt2tags/source/browse/trunk#trunk%2Fsamples%2Fmodule On Tuesday, April 9, 2013, gui b wrote: > Ok thanks > > So we can't import txt2tags and call a function for generate the output? > > > 2013/4/

Re: [t2t] txt2tags in a python script

2013-04-09 Thread gui b
Ok thanks So we can't import txt2tags and call a function for generate the output? 2013/4/9 Forgeot Eric > 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

Re: [t2t] txt2tags in a python script

2013-04-09 Thread Forgeot Eric
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 _