SDF 2.001: SDF Reference: PrependText

Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog

# 12.5. PrependText

## Purpose

PrependText is used within a paragraph event handler to prepend SDF before a paragraph.

## Interface

      &PrependText(@sdf)

### 12.5..1. Description

The argument is the list of SDF paragraphs to prepend.

## Examples

To prepend a line before each level 1 heading:

      !on paragraph 'H1';; &AppendText('Line:')