TopShelfCraft / Wordsmith-Docs

Documentation for the Wordsmith plugin — https://wordsmith.docs.topshelfcraft.com
3 stars 3 forks source link

Disable Smart hyphenation? #20

Open gjhead opened 2 years ago

gjhead commented 2 years ago

If I am using the "typogrify" filter, how the heck and I disable the Smart hyphenations?????

watershed commented 1 year ago

I too would like to know how to do this.

The docs say:

settings — An array of ad-hoc settings to override the defaults for this instance of the filter.

…but provide no examples, so I’ve no idea what the arguments can be.

I went hunting in the plugin code for named methods and tried stuff like:

myText|typogrify(hyphenate=false)

…but no joy.

In the end I've opted to use smartypants instead but it would be good to know how to control this.