Formatter for generating plain text from structured text.
|
__init__(self,
output_file=sys.stdout,
width=78,
indent_size=2,
indent=0,
list_bullet=' - ' )
Create a new HTML formatter. |
source code
|
|
|
|
|
|
|
StartList(self,
type)
Start a list environment of type 'type'. |
source code
|
|
|
EndList(self,
type)
End a list environment of type 'type'. |
source code
|
|
|
|
|
FinishDefinedTerm(self)
Finish the definition of a term in a definition list. |
source code
|
|
|
EndItem(self,
type)
End an element in the environment of type 'type'. |
source code
|
|
|
StartStyle(self,
style)
Start a new text style 'style'. |
source code
|
|
|
EndStyle(self,
style)
End the text style 'style'. |
source code
|
|
|
StartLink(self,
target)
Being a hyperlink to 'target'. |
source code
|
|
|
|
|
|
|
|
|
|