Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeah568/jekyll-read-time-filter
A Jekyll/Liquid filter to calculate the read time of an article based on the formula used by Medium.
https://github.com/yeah568/jekyll-read-time-filter
jekyll jekyll-plugin medium read-time
Last synced: about 2 months ago
JSON representation
A Jekyll/Liquid filter to calculate the read time of an article based on the formula used by Medium.
- Host: GitHub
- URL: https://github.com/yeah568/jekyll-read-time-filter
- Owner: yeah568
- License: mit
- Created: 2015-04-18T10:47:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-08T08:31:53.000Z (about 9 years ago)
- Last Synced: 2024-04-17T05:34:43.631Z (9 months ago)
- Topics: jekyll, jekyll-plugin, medium, read-time
- Language: Ruby
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jekyll-read-time-filter
A Jekyll/Liquid filter to calculate the read time of an article based on the formula [used by Medium](https://medium.com/the-story/read-time-and-you-bc2048ab620c).TL;DR: 275 WPM, add 12 seconds for first image, 11 for next, etc., down to a minimum of 3 seconds per image
## Installation
Just drop read_time.rb into your _plugins folder. Simple as that!## Usage
```
{{ page.content | read_time }}
```
Note: this plugin requires img tags to be in the form of ``. If you're using this on a post listing page, make sure to markdownify the post content first.