Table Of Contents

Previous topic

8. References – how to customize generated references

Next topic

10. Upgrading from OpenPLM 1.2 to OpenPLM 2.0

This Page

Languages

Previous versions

1.2
1.1

9. Rich text | wiki syntax

New in version 2.0.

OpenPLM 2.0 introduces a rich syntax (wiki). It can be enabled at any time by editing the settings.py file. This syntax is used to render comments, long description fields and by the richpage application.

It is possible to switch to another syntax at any time but keep in mind that old contents will be rendered with the new syntax and may look wrong.

9.1. Available syntaxes

Note

All syntaxes are meant to be safe. HTML contents are escaped and no errors are raised in case of an invalid input.

None:

RICHTEXT_FILTER = None
RICHTEXT_WIDGET_CLASS = None

Markdown:

RICHTEXT_FILTER = 'openPLM.plmapp.filters.markdown_filter'
RICHTEXT_WIDGET_CLASS = 'openPLM.plmapp.widgets.MarkdownWidget'