rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RULE] How to format plain text for RULE website


From: M. Fioretti
Subject: [RULE] How to format plain text for RULE website
Date: Mon, 2 Jun 2003 10:34:41 +0200
User-agent: Mutt/1.4i

The almost plain text format used to write source text of RULE web
pages makes possible to write new material very quickly, in plain
emacs/vi, maybe pasting from email. Several RULE potential users from
highly bandwidth-challenged areas have requested tarballs of the whole
site in text format, so there is a very practical need to keep it so,
not just phylosophic ones.

Furthermore, the files remain very readable unlike HTML/PHP, and still
give the possibility to build dynamic sites, keeping scripting and
content separate. Download the text version of the home page to see
what I mean.

Basically, the format is:

Everything starting on column 1 is a level 1 heading

    Everything on column 4 is level two heading

        Paragraphs and lists start on column 8, important is to have
        0/4/8 *spaces*, no tabs (for now).

        .   eight spaces, period, 3 spaces, text: not numbered list
        .   another bullet of this not numbered list

        o   same as above but with lowercase o instead of period:
        o   this is an ordered list, ie will be numbered

-PRE
Anything that must be kept as is (code, shell commands)
must be on column 0, but included in these tags
-/PRE

##INSERT(/include/the/php/code/in/this/file.php)

        URLs are embeddable, see home page source

        Last but not least, there must be at least one empty line
        between any two blocks of different type (heading to
        paragraph, paragraph to list, etc...)

          Ciao,
                Marco

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

The whole world is a tuxedo and you are a pair of brown shoes.
                -- George Gobel

----- End forwarded message -----

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

Never let your sense of morals prevent you from doing what is right
                                           Salvor Hardin , "Foundation"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]