-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mark2confluence): Skip files beginning with Space header when inj…
…ecting default parents (#19) * Ensure file BEGINS with mark headers * ignore case * Skip files with space header * Ensure file BEGINS with mark headers --------- Co-authored-by: Manuel Bovo <manuel.bovo@sysdig.com>
- Loading branch information
Showing
6 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/resources/markdown/test_inject_default_parents/0-input.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<!-- Parent: BAZ --> | ||
<!-- Title: BIM --> |
1 change: 1 addition & 0 deletions
1
tests/resources/markdown/test_inject_default_parents/0-output.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- Space: FOO --> | ||
<!-- Parent: BAR --> | ||
<!-- Parent: BAZ --> | ||
<!-- Title: BIM --> |
3 changes: 3 additions & 0 deletions
3
tests/resources/markdown/test_inject_default_parents/1-input.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- Space: BAR --> | ||
<!-- Parent: BARED --> | ||
<!-- Title: BORED --> |
3 changes: 3 additions & 0 deletions
3
tests/resources/markdown/test_inject_default_parents/1-output.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- Space: BAR --> | ||
<!-- Parent: BARED --> | ||
<!-- Title: BORED --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters