Jim wrote:
> A number of people have complained about the use of single quotes
> for in-line code. One possible alternative is to use ``code''.
I like the way it looks.
However, I think it causes a problem with code like this:
`` if a == '': doSomething() ''
You could use ``code`` instead,
Stephen Harrison wrote:
>
> Jim Fulton wrote:
> >
> > Chris Withers wrote:
> > >
> > > Jim Fulton wrote:
> > > > I suggest that, since this appeared in a code snippit to begin
> > > > with, it should have been written as:
> > > >
> > > > blah blah '(_.None,_,foo)' blah blah
> > >
> > > I don't
Chris Withers wrote:
>
> Jim Fulton wrote:
(snip)
> > > How about extending ! beyond just escaping WikiNames?
> >
> > I *really* **really** hate the ! wiki name escape.
>
> Why?
A goal of structured text is that it should be readable
in it's original form. The conventions used should mimic
the
Jim Fulton wrote:
>
> Chris Withers wrote:
> >
> > Jim Fulton wrote:
> > > I suggest that, since this appeared in a code snippit to begin
> > > with, it should have been written as:
> > >
> > > blah blah '(_.None,_,foo)' blah blah
> >
> > I don't format my code like that ;-)
>
> I'm not sure w
Jim Fulton wrote:
> > > blah blah '(_.None,_,foo)' blah blah
> I'm not sure what the ';)' refers to, but single quotes are
> the correct way to indicate literal code in structured text.
Sorry, that'll teach me to answer email at 20 to midnight :(
I see the point now...
> > How about extending
Chris Withers wrote:
>
> Jim Fulton wrote:
> > I suggest that, since this appeared in a code snippit to begin
> > with, it should have been written as:
> >
> > blah blah '(_.None,_,foo)' blah blah
>
> I don't format my code like that ;-)
I'm not sure what the ';)' refers to, but single quotes
Jim Fulton wrote:
> I suggest that, since this appeared in a code snippit to begin
> with, it should have been written as:
>
> blah blah '(_.None,_,foo)' blah blah
I don't format my code like that ;-)
> Note that the StructuredText underlining feature is
> widely considered a missfeature and
Chris Withers wrote:
>
> Bill Anderson wrote:
> > Why not put a space in there, after the comma? As in:
> > (_.None, _, foo)
I suggest that, since this appeared in a code snippit to begin
with, it should have been written as:
blah blah '(_.None,_,foo)' blah blah
in which case, the '_'s shoul
Chris Withers wrote:
>
> Bill Anderson wrote:
> > Why not put a space in there, after the comma? As in:
> > (_.None, _, foo)
> >
> > Likewise, I tried this in the Sandbox. Works for me. :)
>
> I'd prefer to see a generic way of escaping structured text formatting.
>
> Maybe this is something fo
Bill Anderson wrote:
> Why not put a space in there, after the comma? As in:
> (_.None, _, foo)
>
> Likewise, I tried this in the Sandbox. Works for me. :)
I'd prefer to see a generic way of escaping structured text formatting.
Maybe this is something for StructuredTextNG?
Chris
_
Martijn Pieters wrote:
>
> On Tue, Jun 27, 2000 at 10:42:01PM +0200, Rik Hoekstra wrote:
> > >Just noticed that (_.None,_, gets rendered as (.None,, in a structrued
> > >text wiki. Not useful :/
> >
> > Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See
> > the SandBox t
On Tue, Jun 27, 2000 at 10:42:01PM +0200, Rik Hoekstra wrote:
> >Just noticed that (_.None,_, gets rendered as (.None,, in a structrued
> >text wiki. Not useful :/
>
> Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See
> the SandBox there http://www.zope.org/Wikis/zope-e
>Hi,
>
>Just noticed that (_.None,_, gets rendered as (.None,, in a structrued
>text wiki. Not useful :/
Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See
the SandBox there http://www.zope.org/Wikis/zope-edu/SandBox. So I can't
reproduce it now.
>
>I've got around
Hi,
Just noticed that (_.None,_, gets rendered as (.None,, in a structrued
text wiki. Not useful :/
I've got around this by doing ('_'.None,_, but that's not really the
right idea.
Does anyone know of the proper way of escaping this?
cheers,
Chris
14 matches
Mail list logo