<li><p><aclass="github-button"href="http://github.com/bancek/lektor-markdown-excerpt"data-icon="octicon-star"data-size="large"data-show-count="true"aria-label="Star lektor-markdown-excerpt on GitHub"target="_blank">Star</a></p></li>
# lektor-markdown-excerpt<br><br>This plugin adds filter for Markdown body excerpt.<br><br>## Enabling the Plugin<br><br>To enable the plugin run this command:<br><br>```ini<br>$ lektor plugins add markdown-excerpt<br>```<br><br>## In Templates<br><br>Plugin provides the `|excerpt` filter that can be used to render first<br>paragraph of Markdown:<br><br>```jinja<br>{{ post.body|excerpt }}<br>```<br><br>It takes one optional argument which is the separator for the excerpt:<br><br>```jinja<br>{{ post.body|excerpt:'\n\n##' }}<br>```<br>
Please enable JavaScript to view the <ahref="https://disqus.com/?ref_noscript"
rel="nofollow">comments powered by Disqus.</a>
</noscript>
</div>
</div>
</div>
</div>
</div>
</div>
<divclass="bottomsummary">
<divclass="container">
</div>
</div>
<footer>
<divclass="container">
<divclass="row">
<divclass="col-sm-4 icon-bar">
<ahref="https://github.com/lektor/lektor/"title="Lektor on GitHub"
><iclass="fa fa-github"></i></a>
<ahref="https://github.com/lektor/lektor/issues/"title="Report Issues for Lektor"
><iclass="fa fa-bug"></i></a>
<ahref="https://twitter.com/getlektor"title="Find Lektor on Twitter"
><iclass="fa fa-twitter"></i></a>
<ahref="https://gitter.im/lektor/lektor"title="Chat on Gitter"
><iclass="fa fa-comment"></i></a>
<ahref="https://github.com/lektor/lektor-website/tree/master/content/plugins/lektor-markdown-excerpt/contents.lr"title="View source for this page"><iclass="fa fa-code"></i></a>
</div>
<divclass="col-sm-8">
<ahref="../../license/">License & Copyright</a> •
<ahref="../../contact/">Contact</a> •
Made with <iclass="fa fa-fw fa-heart"title="Heart"><spanhidden>Heart</span></i> in Carinthia