Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/d/j/django-forumbr-0.4.0.1/forum/markup.py   django-forumbr(Download)
 
from .constants import BBCODE, MARKDOWN, TEXTILE
from .constants import RST, PLAIN_HTML, PLAIN_TEXT
 
# FIXME: setup logging
        if textile is not None:
            return textile.textile(text)
    elif markup == RST:
        if publish_parts is not None:
            return publish_parts(text, writer_name='html')['fragment']