On ven. 18 août 2017 at 22:09, H. Hirzel <hannes.hirzel@gmail.com> wrote:
Exactly.
Section 7 of
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfu...
has an example
| wiki | wiki := '!My Document'. PRPillarParser parse: wiki
Or
PRPillarParser parse: (FileSystem workingDirectory / 'foo.pillar') readStream
and then
PRHTMLWriter write: document
This put together gives
PRHTMLWriter write: ( PRPillarParser parse: (FileSystem workingDirectory / 'welcome.pillar') )
If I inspect the result of this expression I get the HTML string.
Thank you Cyril. This is what I was looking for.
--Hannes
Happy to see it still works :) I know there was work on Pillar after I wrote this. Maybe there is some functionalities that will need more than those simple examples. By I am not sure and I know that Stephane want to simplify it further. -- Cyril Ferlicot https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France