Class Markdown
java.lang.Object
com.diffplug.spotless.maven.FormatterFactory
com.diffplug.spotless.maven.markdown.Markdown
A
FormatterFactory implementation that corresponds to <markdown>...</markdown> configuration element.
It defines a formatter for Markdown files that can execute both language agnostic (e.g. LicenseHeader)
and markdown-specific (e.g. Flexmark) steps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFlexmark(Flexmark flexmark) defaultIncludes(org.apache.maven.project.MavenProject project) Methods inherited from class com.diffplug.spotless.maven.FormatterFactory
addEclipseWtp, addEndWithNewline, addIdea, addIndent, addJsr223, addLicenseHeader, addNativeCmd, addPrettier, addReplace, addReplaceRegex, addStepFactory, addToggleOffOn, addTrimTrailingWhitespace, excludes, includes, init, newFormatter
-
Constructor Details
-
Markdown
public Markdown()
-
-
Method Details
-
defaultIncludes
- Specified by:
defaultIncludesin classFormatterFactory
-
licenseHeaderDelimiter
- Specified by:
licenseHeaderDelimiterin classFormatterFactory
-
addFlexmark
-