|
From: Matthias U. <sm...@sm...> - 2009-01-28 06:03:14
|
Hi,
Waylan Limberg:
> One more question: Eric put the "output_format" keyword in the
> "convert" & "convertFromFile" methods, not the "__init__" method of
> the Markdown class. Do we want to set the format for the class (in
> "__init__") or per call to "convert". The current implementation
> allows easy output of both formats. However, I wonder if the more
> common usage is to always require a single format for multiple
> documents. If so, then it should be set on "__init__" instead. Any
> input?
>
s/instead/do both/.
My rationale for this is that I want an instance that's set up the way I
want to have it set up for the common case, and be able to override
the format for specific output formats. Think "HTML web site with
Atom feed", for example.
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | sm...@sm...
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
v4sw7$Yhw6+8ln7ma7u7L!wl7DUi2e6t3TMWb8HAGen6g3a4s6Mr1p-3/-6 hackerkey.com
- -
All his life he has looked away... to the horizon, to the sky,
to the future. Never his mind on where he was, on what he was doing.
-- Yoda
|