Skip to content

Commit 79d386c

Browse files
committed
turned off HARD_WRAPS option
1 parent 8293760 commit 79d386c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

flexmark-java-samples/src/com/vladsch/flexmark/samples/TitleExtract.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
public class TitleExtract {
1414
static final DataHolder OPTIONS = PegdownOptionsAdapter.flexmarkOptions(
15-
Extensions.ALL
15+
Extensions.ALL & ~(Extensions.HARDWRAPS)
1616
).toMutable()
1717
.set(HtmlRenderer.INDENT_SIZE, 2)
1818
;
@@ -54,6 +54,10 @@ public static void main(String[] args) {
5454
"Version\n" +
5555
": v2.15-rc2\n" +
5656
"\n" +
57+
"commitmessage.maxSubjectLength\n" +
58+
": Maximum length of the commit message's subject line. Defaults\n" +
59+
" to 50 if not specified or less than 0.\n" +
60+
"\n" +
5761
"## About\n" +
5862
"\n" +
5963
"This plugin checks the length of a commit's commit message subject and body, and reports warnings and errors to the git client if the lentghts are exceeded.\n" +

0 commit comments

Comments
 (0)