Summarizer Demo

Analyze a text to automatically generate the summary.

Change the demo text as you want

How to Use

Summarizer require Jquery

HTML

Define the place to add the summary.

<div id="summary"></div>          

Get the script.

<script src="pathToJs/summarizer.min.js"></script>          
Javascript
$('#yourTextWithManyHeadings').summarize({
  //option : 'set option'
});
          

Options

summaryId

Set id for the place to add summary. Default is "#summary".

fromHeading

First heading level considered. Default is 2.

toHeading

Limit above which headings are not considered. Default is 4.

linkClass

Define a class for each generated link to style it. Default is empty ("").

License

Summarizer v1.0
Copyright (C) 2022 Sylvestre Lambey

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
www.gnu.org/licenses/gpl.html.
Visit Module-Art.
A page using Summarizer.