Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
PortalTransforms.transforms.markdown_to_html.markdown Class Reference
Collaboration diagram for PortalTransforms.transforms.markdown_to_html.markdown:
Collaboration graph

List of all members.

Public Member Functions

def name
def convert

Static Public Attributes

tuple inputs = ("text/x-web-markdown",)
string output = "text/html"

Static Private Attributes

 __implements__ = itransform
string __name__ = "markdown_to_html"

Detailed Description

Definition at line 22 of file

Member Function Documentation

def PortalTransforms.transforms.markdown_to_html.markdown.convert (   self,

Definition at line 32 of file

00033     def convert(self, orig, data, **kwargs):
00034         if HAS_MARKDOWN:
00035             html = markdown_transformer.markdown(orig)
00036         else:
00037             html = orig
00038         data.setData(html)
00039         return data

Definition at line 29 of file

00030     def name(self):
00031         return self.__name__

Here is the caller graph for this function:

Member Data Documentation

Definition at line 23 of file

string PortalTransforms.transforms.markdown_to_html.markdown.__name__ = "markdown_to_html" [static, private]

Definition at line 25 of file

Definition at line 26 of file

Definition at line 27 of file

The documentation for this class was generated from the following file: