'JSON Beautify' operation now supports formatting, collapsing and syntax highlighting. Closes #203.

This commit is contained in:
n1474335 2022-06-08 18:06:41 +01:00
parent 4274e8f3a2
commit 5349115b94
6 changed files with 304 additions and 41 deletions

View file

@ -16,7 +16,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
],
},
@ -27,7 +27,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
],
},
@ -38,8 +38,12 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
{
op: "HTML To Text",
args: []
}
],
},
{
@ -49,7 +53,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
],
},
@ -60,7 +64,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
],
},
@ -71,7 +75,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
],
},
@ -82,7 +86,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: ["\t", false],
args: ["\t", false, false],
},
],
},
@ -93,8 +97,12 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: [" ", false],
args: [" ", false, false],
},
{
op: "HTML To Text",
args: []
}
],
},
{
@ -104,8 +112,12 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: ["\t", false],
args: ["\t", false, false],
},
{
op: "HTML To Text",
args: []
}
],
},
{
@ -115,8 +127,12 @@ TestRegister.addTests([
recipeConfig: [
{
op: "JSON Beautify",
args: ["\t", true],
args: ["\t", true, false],
},
{
op: "HTML To Text",
args: []
}
],
},
]);