Table of Contents

Class: HTML HappyDoc-r0_7_1/StructuredText.py

An HTML structured text formatter.

Base Classes   
StructuredText
Methods   
__str__
_str
dl
head
normal
ol
pre
table
ul
  __str__ 
__str__ (
        self,
        extra_dl=regex.compile( "</dl>\n<dl>" ),
        extra_ul=regex.compile( "</ul>\n<ul>" ),
        extra_ol=regex.compile( "</ol>\n<ol>" ),
        )

Return an HTML string representation of the structured text data.

  _str 
_str (
        self,
        structure,
        level,
        bullet=ts_regex.compile( '[ \t\n]*[o*-][ \t\n]+\([^\0]*\)' ),
        example=ts_regex.compile( '[\0- ]examples?:[\0- ]*$' ),
        dl=ts_regex.compile( '\([^\n]+\)[ \t]+--[ \t\n]+\([^\0]*\)' ),
        nl=ts_regex.compile( '\n' ),
        ol=ts_regex.compile( '[ \t]*\(\([0-9]+\|[a-zA-Z]+\)[.)]\)+[ \t\n]+\([^\0]*\|$\)' ),
        olp=ts_regex.compile( '[ \t]*([0-9]+)[ \t\n]+\([^\0]*\|$\)' ),
        )

Static

  dl 
dl (
        self,
        before,
        t,
        d,
        after,
        )

  head 
head (
        self,
        before,
        t,
        level,
        d,
        )

  normal 
normal (
        self,
        before,
        p,
        after,
        )

  ol 
ol (
        self,
        before,
        p,
        after,
        )

  pre 
pre (
        self,
        structure,
        tagged=0,
        )

  table 
table (
        self,
        before,
        table,
        after,
        )

  ul 
ul (
        self,
        before,
        p,
        after,
        )


Table of Contents

This document was automatically generated on Sat Sep 9 20:27:32 2000 by HappyDoc version r0_7_1