# lektor-markdown-excerpt
This plugin adds filter for Markdown body excerpt.
## Enabling the Plugin
To enable the plugin run this command:
`ini $ lektor plugins add markdown-excerpt `
## In Templates
Plugin provides the |excerpt filter that can be used to render first paragraph of Markdown:
`jinja {{ post.body|excerpt }} `
It takes one optional argument which is the separator for the excerpt:
`jinja {{ post.body|excerpt:'\n\n##' }} `
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file lektor-markdown-excerpt-0.1.tar.gz.
File metadata
- Download URL: lektor-markdown-excerpt-0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b6a0103aacf30ba1d234bdddd0bb92fd3f95493e1b5dd9bcba4516c2476cbc
|
|
| MD5 |
6ea4d469db21588268f90dbb3e2b90cd
|
|
| BLAKE2b-256 |
44f8e9604a2d5431e0567da5c710106535f6f08b12f3e78684efb4f2d8d8ea73
|