Attention

This document was written for an old version of Plone, Plone 2.5.x, and was last updated 1567 days ago.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

How can I change reStructuredText header levels?

Plone generates Pages out of reStructuredText nicely. The initial header levels, can be set via zmi.

« Back to Table of Contents

By default, the level of the first header tag in reStructuredText is set to the XHTML <h2>. You may change that by using the Zope Management Interface to edit the portal_transforms object in your Plone site root.

Steps, to change initial header levels:

  1. specify initial header level: portal_transforms/rest_to_html
  2. update transformation: portal_transforms/rest_to_html/manage_reloadTransform

To rerender an existing document, go to its edit tab and save it.