forked from evilstreak/markdown-js
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'evilstreak/master' into upstream
* evilstreak/master: Start changes file for next release v0.5.0 Add test for image without title inside link (evilstreak#71) Update changelog since 0.4 Style change - move function just used in table processing into Maruku.block.table Fix broken escaping introduected in 404344f added reference to new tests added some tests for tables added tolerance for up to three spaces for headers and first horizontal rule as per markdown extra corrected some omitted characters needing escape in _split_on_unescaped resolved issue with escaped pipes implemented tables
- Loading branch information
Showing
20 changed files
with
445 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
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
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,11 @@ | ||
["html", | ||
["p", | ||
["a", | ||
{ "href": "https://link-url" }, | ||
["img", { | ||
"alt": "alt", | ||
"src": "https://img-url" | ||
} ] | ||
] | ||
] | ||
] |
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 @@ | ||
[![alt](https://img-url)](https://link-url) |
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,64 @@ | ||
[ "html", | ||
[ "table", | ||
[ "thead", | ||
[ "tr", | ||
[ "th", | ||
{ "align": "left" }, | ||
"#" | ||
], | ||
[ "th", | ||
{ "align": "center" }, | ||
"Item" | ||
], | ||
[ "th", | ||
{ "align": "right" }, | ||
"Value" | ||
] | ||
] | ||
], | ||
[ "tbody", | ||
[ "tr", | ||
[ "td", | ||
{ "align": "left" }, | ||
"1" | ||
], | ||
[ "td", | ||
{ "align": "center" }, | ||
"Computer" | ||
], | ||
[ "td", | ||
{ "align": "right" }, | ||
"$1600" | ||
] | ||
], | ||
[ "tr", | ||
[ "td", | ||
{ "align": "left" }, | ||
"2" | ||
], | ||
[ "td", | ||
{ "align": "center" }, | ||
"Phone" | ||
], | ||
[ "td", | ||
{ "align": "right" }, | ||
"$12" | ||
] | ||
], | ||
[ "tr", | ||
[ "td", | ||
{ "align": "left" }, | ||
"3" | ||
], | ||
[ "td", | ||
{ "align": "center" }, | ||
"Pipe" | ||
], | ||
[ "td", | ||
{ "align": "right" }, | ||
"$1" | ||
] | ||
] | ||
] | ||
] | ||
] |
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,5 @@ | ||
| # | Item | Value | | ||
| :- | :-------: | -----:| | ||
| 1 | Computer | $1600 | | ||
| 2 | Phone | $12 | | ||
| 3 | Pipe | $1 | |
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,64 @@ | ||
[ "html", | ||
[ "table", | ||
[ "thead", | ||
[ "tr", | ||
[ "th", | ||
{ "align": "left" }, | ||
"#" | ||
], | ||
[ "th", | ||
{ "align": "center" }, | ||
"Item" | ||
], | ||
[ "th", | ||
{ "align": "right" }, | ||
"Value" | ||
] | ||
] | ||
], | ||
[ "tbody", | ||
[ "tr", | ||
[ "td", | ||
{ "align": "left" }, | ||
"1" | ||
], | ||
[ "td", | ||
{ "align": "center" }, | ||
"Computer" | ||
], | ||
[ "td", | ||
{ "align": "right" }, | ||
"$1600" | ||
] | ||
], | ||
[ "tr", | ||
[ "td", | ||
{ "align": "left" }, | ||
"2" | ||
], | ||
[ "td", | ||
{ "align": "center" }, | ||
"Phone" | ||
], | ||
[ "td", | ||
{ "align": "right" }, | ||
"$12" | ||
] | ||
], | ||
[ "tr", | ||
[ "td", | ||
{ "align": "left" }, | ||
"3" | ||
], | ||
[ "td", | ||
{ "align": "center" }, | ||
"Pipe" | ||
], | ||
[ "td", | ||
{ "align": "right" }, | ||
"$1" | ||
] | ||
] | ||
] | ||
] | ||
] |
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,5 @@ | ||
#|Item|Value | ||
:-|:-:|-: | ||
1|Computer|$1600 | ||
2|Phone|$12 | ||
3|Pipe|$1 |
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,38 @@ | ||
[ "html", | ||
[ "table", | ||
[ "thead", | ||
[ "tr", | ||
[ "th", | ||
"Function name" | ||
], | ||
[ "th", | ||
"Description" | ||
] | ||
] | ||
], | ||
[ "tbody", | ||
[ "tr", | ||
[ "td", | ||
[ "code", | ||
"help()" | ||
] | ||
], | ||
[ "td", | ||
"Display the help window." | ||
] | ||
], | ||
[ "tr", | ||
[ "td", | ||
[ "code", | ||
"destroy()" | ||
] | ||
], | ||
[ "td", | ||
[ "strong", | ||
"Destroy your computer!" | ||
] | ||
] | ||
] | ||
] | ||
] | ||
] |
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 @@ | ||
| Function name | Description | | ||
| ------------- | ------------------------------ | | ||
| `help()` | Display the help window. | | ||
| `destroy()` | **Destroy your computer!** | |
Oops, something went wrong.