Skip to content

Commit

Permalink
Fixed header bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cevin15 committed Feb 1, 2018
1 parent 537046b commit ca96351
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'maven'

group = 'com.youbenzi'
sourceCompatibility = 1.7
version = '1.1.4'
version = '1.2.0'
jar {
manifest {
attributes 'Implementation-Title': 'mdtool',
Expand All @@ -22,4 +22,4 @@ dependencies {

compileJava {
options.encoding = "UTF-8"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public Block bulid(int level) {
List<ValuePart> list = Analyzer.analyzeLineText(content);
block.setType(BlockType.HEADLINE);
block.setValueParts(list);
block.setLevel(level);
block.setLevel(level + 1);
return block;
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
3. 列表2.3
4. 列表1.2

> #### Markdown*是什么*
#### Markdown*是什么*
> #### **创造了它?
> #### *为什么*要使用它?
> #### *怎么*使用?
Expand Down

0 comments on commit ca96351

Please sign in to comment.