Comments (5)
ah yeah that would be cool. basically we could just have a check for if (!data.excepert) grabFirstP()
yeah?
from excerpts.
sweet yeah. with data.excerpt
the excerpt would need to be in the front matter, right?
from excerpts.
yup, it would be defined in front matter
from excerpts.
lucky we use yaml, would be so awkward without multiline support
from excerpts.
This has actually been implemented a while ago, see fixtures/no-mutation & test https://github.com/metalsmith/metalsmith-excerpts/blob/master/test/index.js#L118
from excerpts.
Related Issues (14)
- rename to "excerpts"
- Reference-style links aren't transformed into anchor tags HOT 5
- Indented first paragraphs are transformed incorrectly HOT 1
- Add option to strip surrounding paragraph element HOT 5
- Excerpt html does not get interpreted HOT 2
- More precise excerpt selection HOT 2
- Adding new options HOT 1
- Excerpt from Markdown HOT 1
- Please update dependency on debug
- High Dependency Vulnerability: cheerio HOT 1
- Wordpress-style <!--more--> tag?
- Simplify API by only providing multiple formats HOT 1
- Roadmap 2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excerpts.