Re: [Structuredtext-develop] Re: wanting to use restructuredtextin a zope product
Status: Pre-Alpha
Brought to you by:
goodger
|
From: tav <ta...@es...> - 2002-04-13 13:15:17
|
>>>>> DG == "David Goodger" <go...@us...> wrote:
tav> could you elaborate on how you see it working without a
tav> file-like object?
DG> No, because I don't know yet! :-)
hehe, fair enough.
tav> you seem pretty set on this point... can you at least accomodate
tav> for a decode() method in the XHTMLTransformer class?
DG> No, I can't see adding broken functionality to the project.
DG> Why don't you just write a decode() function for yourself, and
DG> run the processed string through it?
ah, that's what i do now, and i don't mind doing that. however, i feel that
there would be lots of users of restructuredtext, who would appreciate such
a method...
tav> hmz. how could i go about disabling protocol recognition then?
tav> i.e. conversion of http://foo.com into a url.
DG> In the short-term, specific case you give, a backslash should
DG> do it: \http://foo.com.
is there some method that i can alter that will permanently disable the
protocol recognition?
if you could enlighten me on the protocol disabling, i shalt be a very happy
mariner. =)
DG> In the general case, I plan to make the parser modular
DG> somehow (don't ask me how, yet), so clients can enable and
DG> disable individual construct recognition.
very nice. if i someday manage to get my head round states.py, i'd love to
help out.
DG> After the merge (reStructuredText + DPS ==> Docutils), this
DG> weekend or next, I want to work on a PEP Reader component,
DG> which will require such functionality. I'll know more once
DG> that's done.
good luck.
--
best regards, tav
ta...@es...
|