We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e529d4 commit 6cef998Copy full SHA for 6cef998
commonmark/src/test/java/org/commonmark/test/TextContentRendererTest.java
@@ -30,6 +30,13 @@ public void textContentText() {
30
assertStripped(s, "foo foo bar bar");
31
}
32
33
+ @Test
34
+ public void textContentHeading() {
35
+ assertCompact("# Heading\n\nFoo", "Heading\nFoo");
36
+ assertSeparate("# Heading\n\nFoo", "Heading\n\nFoo");
37
+ assertStripped("# Heading\n\nFoo", "Heading: Foo");
38
+ }
39
+
40
@Test
41
public void textContentEmphasis() {
42
String s;
0 commit comments