Class Markdown
- java.lang.Object
-
- com.diffplug.spotless.maven.FormatterFactory
-
- com.diffplug.spotless.maven.markdown.Markdown
-
public class Markdown extends FormatterFactory
AFormatterFactory
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 Constructor Description Markdown()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFlexmark(Flexmark flexmark)
java.util.Set<java.lang.String>
defaultIncludes(org.apache.maven.project.MavenProject project)
java.lang.String
licenseHeaderDelimiter()
-
Methods inherited from class com.diffplug.spotless.maven.FormatterFactory
addEclipseWtp, addEndWithNewline, addIndent, addJsr223, addLicenseHeader, addNativeCmd, addPrettier, addReplace, addReplaceRegex, addStepFactory, addToggleOffOn, addTrimTrailingWhitespace, excludes, includes, newFormatter
-
-
-
-
Method Detail
-
defaultIncludes
public java.util.Set<java.lang.String> defaultIncludes(org.apache.maven.project.MavenProject project)
- Specified by:
defaultIncludes
in classFormatterFactory
-
licenseHeaderDelimiter
public java.lang.String licenseHeaderDelimiter()
- Specified by:
licenseHeaderDelimiter
in classFormatterFactory
-
addFlexmark
public void addFlexmark(Flexmark flexmark)
-
-