PHPackages                             yosymfony/spress-plugin-more-tag - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. yosymfony/spress-plugin-more-tag

ActiveSpress-plugin[Parsing &amp; Serialization](/categories/parsing)

yosymfony/spress-plugin-more-tag
================================

More tag for post in Spress sites

v2.0.0(10y ago)2150[1 issues](https://github.com/yosymfony/Spress-plugin-more-tag/issues)MITPHP

Since Mar 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/yosymfony/Spress-plugin-more-tag)[ Packagist](https://packagist.org/packages/yosymfony/spress-plugin-more-tag)[ RSS](/packages/yosymfony-spress-plugin-more-tag/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Get the excerpt of your content
-------------------------------

[](#get-the-excerpt-of-your-content)

[![Spress 2 ready](https://camo.githubusercontent.com/c561b5ab66f0296c37bc409f8a6a49fffb49b600c4341ff8df52ebbc742c40ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537072657373253230322d72656164792d627269676874677265656e2e737667)](https://camo.githubusercontent.com/c561b5ab66f0296c37bc409f8a6a49fffb49b600c4341ff8df52ebbc742c40ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537072657373253230322d72656164792d627269676874677265656e2e737667)

You can use *more tag* to get a excerpt of your content like blog entries.

**This plugin requires Spress &gt;= 2.0**. If you are using Spress 1.x, go to [1.0.1](https://github.com/yosymfony/Spress-plugin-more-tag/tree/v1.0.1) version of the plugin.

### How to install?

[](#how-to-install)

Go to your Spress site and add the following to your `composer.json` and run `composer update`:

```
"require": {
    "yosymfony/spress-plugin-more-tag": "2.0.*"
}
```

### How to use?

[](#how-to-use)

In Markdown syntax you can use `--more--` or `--more --`like `--more More information-- to get a excerpt of your blog entries. The content located before of *more tag* will be a excerpt. The more tag require a new line at the end:

This is **wrong**:

```
Your main text
--more-- Explain text
```

**The template side**

This plugin provides some Twig filters and one test to handle excerpt concern:

- `excerpt` filter gets the excerpt of content. `{{ post.content | excerpt }}`.
- `content` filter gets the content without more tag text. `{{ post.content | content }}`.
- `excerpt_label` filter gets the label associated to more tag text.
- `with_excerpt` test lets you check if a variable has the more tag text.

#### Examples

[](#examples)

```
---
layout: default
---

Hello and welcome to **Spress, a static site generator capable to generate
blogs sites**.

--more--

Your post can be write in Markdown and your templates are
writing with [Twig](http://twig.sensiolabs.org/documentation).
```

Example 2:

```
---
layout: default
---

Hello and welcome to **Spress, a static site generator capable to generate
blogs sites**.

--more More information--

Your post can be write in Markdown and your templates are
writing with [Twig](http://twig.sensiolabs.org/documentation).
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~328 days

Total

3

Last Release

3783d ago

Major Versions

v1.0.1 → v2.0.02016-01-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/cac3ac1311a4a66c37c1c6cb3301e6a02e5f4f8b742dfb95d1ce6805e8d8fe94?d=identicon)[yosymfony](/maintainers/yosymfony)

---

Top Contributors

[![yosymfony](https://avatars.githubusercontent.com/u/3321099?v=4)](https://github.com/yosymfony "yosymfony (13 commits)")[![victorpuertas](https://avatars.githubusercontent.com/u/3154875?v=4)](https://github.com/victorpuertas "victorpuertas (3 commits)")

---

Tags

pluginmarkdownexcerptspress

### Embed Badge

![Health badge](/badges/yosymfony-spress-plugin-more-tag/health.svg)

```
[![Health](https://phpackages.com/badges/yosymfony-spress-plugin-more-tag/health.svg)](https://phpackages.com/packages/yosymfony-spress-plugin-more-tag)
```

###  Alternatives

[erusev/parsedown

Parser for Markdown.

15.0k151.8M732](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M702](/packages/league-commonmark)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[league/html-to-markdown

An HTML-to-markdown conversion helper for PHP

1.9k28.6M199](/packages/league-html-to-markdown)[cebe/markdown

A super fast, highly extensible markdown parser for PHP

1.0k32.5M136](/packages/cebe-markdown)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
