-
-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add convert description lists to the semantic HTML 5 converter
- Loading branch information
1 parent
d15b25e
commit 2c61693
Showing
15 changed files
with
117 additions
and
0 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
4 changes: 4 additions & 0 deletions
4
test/fixtures/semantic-html5-scenarios/description-list-horizontal.adoc
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,4 @@ | ||
[horizontal] | ||
Description Term 1:: Description Body 1. | ||
Description Term 2:: Description Body 2. | ||
Description Term 3:: Description Body 3. |
8 changes: 8 additions & 0 deletions
8
test/fixtures/semantic-html5-scenarios/description-list-horizontal.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,8 @@ | ||
<dl class="horizontal"> | ||
<dt>Description Term 1</dt> | ||
<dd>Description Body 1.</dd> | ||
<dt>Description Term 2</dt> | ||
<dd>Description Body 2.</dd> | ||
<dt>Description Term 3</dt> | ||
<dd>Description Body 3.</dd> | ||
</dl> |
4 changes: 4 additions & 0 deletions
4
test/fixtures/semantic-html5-scenarios/description-list-qanda-with-id-roles.adoc
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,4 @@ | ||
[qanda#the_dl.style1.style2] | ||
Question 1?:: Answer 1. | ||
Question 2?:: Answer 2. | ||
Question 3?:: Answer 3. |
8 changes: 8 additions & 0 deletions
8
test/fixtures/semantic-html5-scenarios/description-list-qanda-with-id-roles.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,8 @@ | ||
<dl id="the_dl" class="qanda style1 style2"> | ||
<dt>Question 1?</dt> | ||
<dd>Answer 1.</dd> | ||
<dt>Question 2?</dt> | ||
<dd>Answer 2.</dd> | ||
<dt>Question 3?</dt> | ||
<dd>Answer 3.</dd> | ||
</dl> |
4 changes: 4 additions & 0 deletions
4
test/fixtures/semantic-html5-scenarios/description-list-qanda-with-id.adoc
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,4 @@ | ||
[qanda#the_dl] | ||
Question 1?:: Answer 1. | ||
Question 2?:: Answer 2. | ||
Question 3?:: Answer 3. |
8 changes: 8 additions & 0 deletions
8
test/fixtures/semantic-html5-scenarios/description-list-qanda-with-id.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,8 @@ | ||
<dl id="the_dl" class="qanda"> | ||
<dt>Question 1?</dt> | ||
<dd>Answer 1.</dd> | ||
<dt>Question 2?</dt> | ||
<dd>Answer 2.</dd> | ||
<dt>Question 3?</dt> | ||
<dd>Answer 3.</dd> | ||
</dl> |
4 changes: 4 additions & 0 deletions
4
test/fixtures/semantic-html5-scenarios/description-list-qanda-with-roles.adoc
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,4 @@ | ||
[qanda.style1.style2] | ||
Question 1?:: Answer 1. | ||
Question 2?:: Answer 2. | ||
Question 3?:: Answer 3. |
8 changes: 8 additions & 0 deletions
8
test/fixtures/semantic-html5-scenarios/description-list-qanda-with-roles.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,8 @@ | ||
<dl class="qanda style1 style2"> | ||
<dt>Question 1?</dt> | ||
<dd>Answer 1.</dd> | ||
<dt>Question 2?</dt> | ||
<dd>Answer 2.</dd> | ||
<dt>Question 3?</dt> | ||
<dd>Answer 3.</dd> | ||
</dl> |
4 changes: 4 additions & 0 deletions
4
test/fixtures/semantic-html5-scenarios/description-list-qanda.adoc
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,4 @@ | ||
[qanda] | ||
Question 1?:: Answer 1. | ||
Question 2?:: Answer 2. | ||
Question 3?:: Answer 3. |
8 changes: 8 additions & 0 deletions
8
test/fixtures/semantic-html5-scenarios/description-list-qanda.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,8 @@ | ||
<dl class="qanda"> | ||
<dt>Question 1?</dt> | ||
<dd>Answer 1.</dd> | ||
<dt>Question 2?</dt> | ||
<dd>Answer 2.</dd> | ||
<dt>Question 3?</dt> | ||
<dd>Answer 3.</dd> | ||
</dl> |
4 changes: 4 additions & 0 deletions
4
test/fixtures/semantic-html5-scenarios/description-list-with-title.adoc
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,4 @@ | ||
.The Description List | ||
Description Term 1:: Description Body 1. | ||
Description Term 2:: Description Body 2. | ||
Description Term 3:: Description Body 3. |
9 changes: 9 additions & 0 deletions
9
test/fixtures/semantic-html5-scenarios/description-list-with-title.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,9 @@ | ||
<dl> | ||
<strong class="title">The Description List</strong> | ||
<dt>Description Term 1</dt> | ||
<dd>Description Body 1.</dd> | ||
<dt>Description Term 2</dt> | ||
<dd>Description Body 2.</dd> | ||
<dt>Description Term 3</dt> | ||
<dd>Description Body 3.</dd> | ||
</dl> |
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 @@ | ||
Description Term 1:: Description Body 1. | ||
Description Term 2:: Description Body 2. | ||
Description Term 3:: Description Body 3. |
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 @@ | ||
<dl> | ||
<dt>Description Term 1</dt> | ||
<dd>Description Body 1.</dd> | ||
<dt>Description Term 2</dt> | ||
<dd>Description Body 2.</dd> | ||
<dt>Description Term 3</dt> | ||
<dd>Description Body 3.</dd> | ||
</dl> |