Reading Time

This script allows you to display the wordcount and reading time for a PubWriter page.

Demo

https://pubwriter.com/manifesto.md (Pubwriter)

https://pubwriter.com/pubwriter/manifesto.md (Source)

Add...

HTML

<div>Wordcount <strong id="textOut"></strong></div>
<div>Reading Time <strong id="time"></strong> Minutes</div>
<div id="pubwriter">

JS

<script src="https://pubwriter.net/js/readingTime.js"></script>