Sujet précédent

5.7.2. files.formats — Simple module to test if a file is a CAD file

Sujet suivant

5.9. forms — Forms used by openPLM

Cette page

Autres langues

5.8. filters – Rendering of text written in a wiki syntax

plmapp.filters.unescape(text)[source]
plmapp.filters.richtext(content, object)[source]

This template filter takes a string value and passes it through the function specified by the RICHTEXT_FILTER setting.

plmapp.filters.plaintext(content, object)[source]

This template filter takes a string value and passes it through the function specified by the RICHTEXT_PLAIN_FILTER setting.

plmapp.filters.build_url(label, base, end)[source]
plmapp.filters.prefixed_slugify(*args, **kwargs)[source]
class plmapp.filters.PLMLinkExtension(pattern, configs)[source]

Bases: markdown.extensions.Extension

extendMarkdown(md, md_globals)[source]
class plmapp.filters.PLMPattern(pattern, config)[source]

Bases: markdown.inlinepatterns.LinkPattern

handleMatch(m)[source]
plmapp.filters.markdown_filter(text, object)[source]