[Pdweb] reStructured Text font is tiny

Frank Barknecht fbar at footils.org
Mon May 29 12:57:36 CEST 2006


Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

> The syntax is horrid when trying to include code.  It was  
> interpreting all of the *'s in the functions (char *, etc).   

Well, it was interpreting all * because a * is an inline markup
element in reST to do e.g. **bold**. If one prefers <b>bold like
this</b>, one should not use reST but HTML. 

You could either use ``inline literals`` or convert all code to
literal blocks.

A literal block is an indented block after a paragraph that ends with a
double colon like this one does::

  Nothing easier 
    than formatting 
      code like this.

You can also use a lone double colon.

:: 

    void(*code)
    {
        block;
    }

I made the conversion on http://puredata.org/docs/developer/PdAPI, so
you can see the result. It also fixed the font size issue.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the pdweb mailing list