On Thu, 2002-10-24 at 14:43, Aaron Held wrote:
> Ian Bicking wrote:
> > probably make a translator from a text-like markup to a particular XML
> > schema well enough... and I might do that if we decide on a particular
> > schema.  I think that would be better than trying to deal with all the
> > needless tags.
> 
> I agree.
> reStruct has all the basic tags, the only thing that I don't see how to 
> do is to label blocks of text (like in my tutorial) and differentiate 
> between block types. (python, shell, example)

I believe there is a way that you could add this to the reST syntax as a
directive.  It might look like:

.. python::
    :caption: Some caption...

    Some python code...

ReST has these for sidebar interjections ("note", "danger", etc),
images, and a few other things.  I don't think there'd be any problem
with adding code formating, but they haven't done it, so maybe there is
a problem.  I'd also like to be able to put emphasis inside of code
blocks, but preferably without then requiring lots of escapes (but you
can't have your cake and eat it too :)  Otherwise I have to do inline
annotation with comments, but a little font styling could be better (and
orthogonal to the actual code).

  Ian




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to