This release features a new extension point, metric, which is a more abstract implementation of readability:
extends: metric
message: "Try to keep the Flesch–Kincaid grade level (%s) below 8."
link: https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests
formula: |
(0.39 * (words / sentences)) + (11.8 * (syllables / words)) - 15.59
condition: "> 8"It allows you to create your own summary-scoped metrics -- be it an existing readability score, an entirely custom metric, or a combination of the two. See the new Readability style for some examples.
Note: As stated in the documentation, the
readabilityextension point is now considered deprecated. Although it will continue working in future releases, we recommend the use ofmetricgoing forward.