Namespace: suggest

Marked.suggest

Suggestions for Plain English Campaign errors

Methods

alternate(word) → {string}

Return a string with any available alternate words or phrases

Parameters:
Name Type Description
word string

The word or phrase to check

Returns:

A formatted string: 'Try: "word 1", "word 2"'

Type
string
Example
Marked.suggest.alternate('with regard to')