Then import HyphenationPublishPlugin where you’d like to use it.
Usage
The hyphenate(using:) plugin can be installed in a publishing pipeline using the installPlugin(_:) step. The default separator character is U+00AD (soft hyphen) if the parameter is omitted.
Hyphenation plugin for Publish
A Publish plugin that automatically hyphenates the text of your website using Hyphenation.
Installation
To install the plugin, add it as a dependency within your
Package.swift
manifest:Then import
HyphenationPublishPlugin
where you’d like to use it.Usage
The
hyphenate(using:)
plugin can be installed in a publishing pipeline using theinstallPlugin(_:)
step. The default separator character is U+00AD (soft hyphen) if the parameter is omitted.You can create the
Modifer
s for Ink’sMarkdownParser
directly using the globalmakeHyphenationModifiers(using:)
method.