Skip to main content

# 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

lektor-markdown-excerpt-0.1.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file lektor-markdown-excerpt-0.1.tar.gz.

File metadata

File hashes

Hashes for lektor-markdown-excerpt-0.1.tar.gz
Algorithm Hash digest
SHA256 57b6a0103aacf30ba1d234bdddd0bb92fd3f95493e1b5dd9bcba4516c2476cbc
MD5 6ea4d469db21588268f90dbb3e2b90cd
BLAKE2b-256 44f8e9604a2d5431e0567da5c710106535f6f08b12f3e78684efb4f2d8d8ea73

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page