38 lines
721 B
JSON
38 lines
721 B
JSON
|
{
|
||
|
"escape": {
|
||
|
"cases": [
|
||
|
{
|
||
|
"name": "list item 1",
|
||
|
"input": "foo-bar",
|
||
|
"output": "foo-bar"
|
||
|
},
|
||
|
{
|
||
|
"name": "list item 2",
|
||
|
"input": "foo\n- bar",
|
||
|
"output": "foo\n\\- bar"
|
||
|
},
|
||
|
{
|
||
|
"name": "list item 3",
|
||
|
"input": "foo\n- bar\n - baz",
|
||
|
"output": "foo\n\\- bar\n \\- baz"
|
||
|
},
|
||
|
{
|
||
|
"name": "underscore 1",
|
||
|
"input": "foo_bar",
|
||
|
"output": "foo\\_bar"
|
||
|
},
|
||
|
{
|
||
|
"name": "pipe 1",
|
||
|
"input": "foo|bar",
|
||
|
"output": "foo\\|bar"
|
||
|
},
|
||
|
{
|
||
|
"name": "oblique",
|
||
|
"input": "jean-claude: twink]e, twink]e, little *, how | w{}nder, wha+ you are!",
|
||
|
"output": "jean-claude: twink\\]e, twink\\]e, little \\*, how \\| w{}nder, wha+ you are!"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|