defaultReadabilityConfig top-level property
Default configuration for the readability algorithm.
Implementation
final ReadabilityConfig defaultReadabilityConfig = ReadabilityConfig(
readableTags: [
'p',
'div',
'h2',
'h3',
'h4',
'h5',
'h6',
'td',
'pre',
],
positiveClasses: [
'article',
'body',
'content',
'entry',
'hentry',
'h-entry',
'main',
'page',
'pagination',
'post',
'text',
'blog',
'story',
],
negativeClasses: [
'hidden',
' hid ',
'banner',
'combx',
'comment',
'com-',
'contact',
'foot',
'footer',
'footnote',
'gdpr',
'masthead',
'media',
'meta',
'outbrain',
'promo',
'related',
'scroll',
'share',
'shoutbox',
'sidebar',
'skyscraper',
'sponsor',
'shopping',
'tags',
'tool',
'widget',
],
);