-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Add tests for nested markdown inline syntax
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tests/Integration/tests/markdown/emphasis-nested-md/expected/index.html
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,12 @@ | ||
<!-- content start --> | ||
|
||
<div class="section" id="markdown-with-emphasis"> | ||
<h1>Markdown with emphasis</h1> | ||
|
||
<p>If value 1 is given in a field with marker <em>{receiver}</em>, <em><a href="mailto:[email protected]">[email protected]</a></em> should be chosen and if value 2 or something else is given, <em><a href="mailto:[email protected]">[email protected]</a></em> should be chosen.</p> | ||
|
||
|
||
<p><em>~~<strong>test</strong><code>aaaaa</code> sdaasdsadasdasd~~</em></p> | ||
|
||
</div> | ||
<!-- content end --> |
8 changes: 8 additions & 0 deletions
8
tests/Integration/tests/markdown/emphasis-nested-md/input/guides.xml
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,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<guides xmlns="https://www.phpdoc.org/guides" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://www.phpdoc.org/guides packages/guides-cli/resources/schema/guides.xsd" | ||
input-format="md" | ||
> | ||
<project title="Project Title" version="6.4"/> | ||
</guides> |
7 changes: 7 additions & 0 deletions
7
tests/Integration/tests/markdown/emphasis-nested-md/input/index.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,7 @@ | ||
# Markdown with emphasis | ||
|
||
If value 1 is given in a field with marker *{receiver}*, *[email protected]* should be chosen | ||
and if value 2 or something else is given, *[email protected]* should be chosen. | ||
|
||
_~~**test**`aaaaa` | ||
sdaasdsadasdasd~~_ |