-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9485f2
commit d9a003d
Showing
27 changed files
with
146 additions
and
485 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
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
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,27 +1,13 @@ | ||
# [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][1] | ||
# [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary) | ||
|
||
## [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][2] | ||
## [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-1) | ||
|
||
### [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][3] | ||
### [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-2) | ||
|
||
#### [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][4] | ||
#### [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-3) | ||
|
||
##### [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][5] | ||
##### [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-4) | ||
|
||
# [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][6] | ||
# [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-5) | ||
|
||
## [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.][7] | ||
|
||
[1]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary | ||
|
||
[2]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-1 | ||
|
||
[3]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-2 | ||
|
||
[4]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-3 | ||
|
||
[5]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-4 | ||
|
||
[6]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-5 | ||
|
||
[7]: #given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-6 | ||
## [GIVEN a headline THEN "Lorem ipsum" MUST NOT be linked to glossary.](#given-a-headline-then-lorem-ipsum-must-not-be-linked-to-glossary-6) |
88 changes: 37 additions & 51 deletions
88
test/output-expected/config-shared/substring_behavior/document.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,69 +1,55 @@ | ||
# [Substring Test Document][1] | ||
# [Substring Test Document](#substring-test-document) | ||
|
||
## [A][2] | ||
## [A](#a) | ||
|
||
GIVEN a term '[A][3]' WITH '[A][3]' being atomic | ||
AND itself being substring of terms '[AB][4]' AND '[ABC][5]', | ||
THEN '[A][3]' MUST be correctly linked to its definition of '[A][3]' | ||
AND other terms MUST NOT be affected by the definition of '[A][3]'. | ||
GIVEN a term '[A][1]' WITH '[A][1]' being atomic | ||
AND itself being substring of terms '[AB][2]' AND '[ABC][3]', | ||
THEN '[A][1]' MUST be correctly linked to its definition of '[A][1]' | ||
AND other terms MUST NOT be affected by the definition of '[A][1]'. | ||
|
||
## [AB][6] | ||
## [AB](#ab) | ||
|
||
GIVEN a term '[AB][4]' WITH another term '[A][3]' being substring of it, | ||
AND itself being substring of '[ABC][5]' | ||
THEN '[AB][4]' MUST be linked as a single term to its definition of '[AB][4]' | ||
AND '[AB][4]' MUST NOT be split by a link to the definition of '[A][3]'. | ||
GIVEN a term '[AB][2]' WITH another term '[A][1]' being substring of it, | ||
AND itself being substring of '[ABC][3]' | ||
THEN '[AB][2]' MUST be linked as a single term to its definition of '[AB][2]' | ||
AND '[AB][2]' MUST NOT be split by a link to the definition of '[A][1]'. | ||
|
||
## [ABC][7] | ||
## [ABC](#abc) | ||
|
||
GIVEN a term '[ABC][5]' WITH other terms '[AB][4]' AND '[A][3]' being substrings of it, | ||
THEN '[ABC][5]' MUST be linked as a single term to its definition of '[ABC][5]' | ||
AND '[ABC][5]' MUST NOT be split by a link to the definition of '[AB][4]' | ||
AND '[ABC][5]' MUST NOT be split by a link to the definition of '[A][3]' | ||
GIVEN a term '[ABC][3]' WITH other terms '[AB][2]' AND '[A][1]' being substrings of it, | ||
THEN '[ABC][3]' MUST be linked as a single term to its definition of '[ABC][3]' | ||
AND '[ABC][3]' MUST NOT be split by a link to the definition of '[AB][2]' | ||
AND '[ABC][3]' MUST NOT be split by a link to the definition of '[A][1]' | ||
|
||
## [Ä][8] | ||
## [Ä](#ä) | ||
|
||
GIVEN a non-ASCII term '[Ä][9]' WITH '[Ä][9]' being atomic | ||
AND itself being substring of terms ['ÄÖ'][10] AND ['ÄÖÜ'][11], | ||
THEN '[Ä][9]' MUST be correctly linked to its definition of '[Ä][9]' | ||
AND other terms MUST NOT be affected by the definition of '[Ä][9]'. | ||
GIVEN a non-ASCII term '[Ä][4]' WITH '[Ä][4]' being atomic | ||
AND itself being substring of terms ['ÄÖ'][5] AND ['ÄÖÜ'][6], | ||
THEN '[Ä][4]' MUST be correctly linked to its definition of '[Ä][4]' | ||
AND other terms MUST NOT be affected by the definition of '[Ä][4]'. | ||
|
||
## [ÄÖ][12] | ||
## [ÄÖ](#äö) | ||
|
||
GIVEN a non-ASCII term ['ÄÖ'][10] WITH another term '[Ä][9]' being substring of it, | ||
AND itself being substring of ['ÄÖÜ'][11] | ||
THEN ['ÄÖ'][10] MUST be linked as a single term to its definition of ['ÄÖ'][10] | ||
AND ['ÄÖ'][10] MUST NOT be split by a link to the definition of '[Ä][9]'. | ||
GIVEN a non-ASCII term ['ÄÖ'][5] WITH another term '[Ä][4]' being substring of it, | ||
AND itself being substring of ['ÄÖÜ'][6] | ||
THEN ['ÄÖ'][5] MUST be linked as a single term to its definition of ['ÄÖ'][5] | ||
AND ['ÄÖ'][5] MUST NOT be split by a link to the definition of '[Ä][4]'. | ||
|
||
## [ÄÖÜ][13] | ||
## [ÄÖÜ](#äöü) | ||
|
||
GIVEN a non-ASCII term ['ÄÖÜ'][11] WITH other terms ['ÄÖ'][10] AND '[Ä][9]' being substrings of it, | ||
THEN ['ÄÖÜ'][11] MUST be linked as a single term to its definition of ['ÄÖÜ'][11] | ||
AND ['ÄÖÜ'][11] MUST NOT be split by a link to the definition of ['ÄÖ'][10] | ||
AND ['ÄÖÜ'][11] MUST NOT be split by a link to the definition of '[Ä][9]' | ||
GIVEN a non-ASCII term ['ÄÖÜ'][6] WITH other terms ['ÄÖ'][5] AND '[Ä][4]' being substrings of it, | ||
THEN ['ÄÖÜ'][6] MUST be linked as a single term to its definition of ['ÄÖÜ'][6] | ||
AND ['ÄÖÜ'][6] MUST NOT be split by a link to the definition of ['ÄÖ'][5] | ||
AND ['ÄÖÜ'][6] MUST NOT be split by a link to the definition of '[Ä][4]' | ||
|
||
[1]: #substring-test-document | ||
[1]: glossary.md#a "GIVEN an atomic term 'A' WITH term 'A' being a substring of 'AB' and 'ABC'" | ||
|
||
[2]: #a | ||
[2]: glossary.md#ab "GIVEN a term 'AB' WITH term A being a substring of it and itself being substring of 'ABC'" | ||
|
||
[3]: glossary.md#a "GIVEN an atomic term 'A' WITH term 'A' being a substring of 'AB' and 'ABC'" | ||
[3]: glossary.md#abc "GIVEN a term 'ABC' WITH terms 'AB' and A being substrings of it" | ||
|
||
[4]: glossary.md#ab "GIVEN a term 'AB' WITH term A being a substring of it and itself being substring of 'ABC'" | ||
[4]: glossary.md#ä "GIVEN an atomic non-ASCII term 'Ä' WITH term 'Ä' being a substring of 'ÄÖ' and 'ÄÖÜ'" | ||
|
||
[5]: glossary.md#abc "GIVEN a term 'ABC' WITH terms 'AB' and A being substrings of it" | ||
[5]: glossary.md#äö "GIVEN a term 'ÄÖ' WITH term 'Ä' being a substring of it and itself being substring of 'ÄÖÜ'" | ||
|
||
[6]: #ab | ||
|
||
[7]: #abc | ||
|
||
[8]: #ä | ||
|
||
[9]: glossary.md#ä "GIVEN an atomic non-ASCII term 'Ä' WITH term 'Ä' being a substring of 'ÄÖ' and 'ÄÖÜ'" | ||
|
||
[10]: glossary.md#äö "GIVEN a term 'ÄÖ' WITH term 'Ä' being a substring of it and itself being substring of 'ÄÖÜ'" | ||
|
||
[11]: glossary.md#äöü "GIVEN a term 'ÄÖÜ' WITH terms 'ÄÖ' and 'Ä' being substrings of it" | ||
|
||
[12]: #äö | ||
|
||
[13]: #äöü | ||
[6]: glossary.md#äöü "GIVEN a term 'ÄÖÜ' WITH terms 'ÄÖ' and 'Ä' being substrings of it" |
Oops, something went wrong.