Not a developer? Go to MovableType.com

Documentation

count_paragraphs

Outputs the number of paragraphs found in the input.

Count calculated by splitting the tag output at line breaks (regex: [\r\n]+) and then returning the length of the items.

Example

<$mt:EntryBody count_paragraphs="1"$>
Back

Leave a Comment