Skip to content

Commit 93f07b4

Browse files
author
fmoronzirfas
committed
chore(update to latest basil):
1 parent c4375e6 commit 93f07b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+211
-215
lines changed

reference/color/blendMode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ subcategory: null
88
returns: null
99
parameters:
1010
- {name: obj, description: 'The object to set blendMode of.', optional: false, type: [Object]}
11-
- {name: blendMode, description: "The blendMode must be one of the InDesign BlendMode enum values:\n BlendMode.NORMAL <br />\n BlendMode.MULTIPLY <br />\n BlendMode.SCREEN <br />\n BlendMode.OVERLAY <br />\n BlendMode.SOFT_LIGHT <br />\n BlendMode.HARD_LIGHT <br />\n BlendMode.COLOR_DODGE <br />\n BlendMode.COLOR_BURN <br />\n BlendMode.DARKEN <br />\n BlendMode.LIGHTEN <br />\n BlendMode.DIFFERENCE <br />\n BlendMode.EXCLUSION <br />\n BlendMode.HUE <br />\n BlendMode.SATURATION <br />\n BlendMode.COLOR <br />\n BlendMode.LUMINOSITY <br />", optional: false, type: [Number]}
11+
- {name: blendMode, description: "The blendMode must be one of the InDesign BlendMode enum values:\n - `BlendMode.NORMAL`\n - `BlendMode.MULTIPLY`\n - `BlendMode.SCREEN`\n - `BlendMode.OVERLAY`\n - `BlendMode.SOFT_LIGHT`\n - `BlendMode.HARD_LIGHT`\n - `BlendMode.COLOR_DODGE`\n - `BlendMode.COLOR_BURN`\n - `BlendMode.DARKEN`\n - `BlendMode.LIGHTEN`\n - `BlendMode.DIFFERENCE`\n - `BlendMode.EXCLUSION`\n - `BlendMode.HUE`\n - `BlendMode.SATURATION`\n - `BlendMode.COLOR`\n - `BlendMode.LUMINOSITY`", optional: false, type: [Number]}
1212
kind: function
1313
todo: null
1414
examples: []

reference/color/gradient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: gradient
44
codetitle: 'gradient(c1, c2, [name])'
5-
description: "Creates a new gradient and adds it to the document, or gets a gradient by name from the document.\nIf two colors are given as the first two parameters, a gradient is created that blends between these two colors. If an array of colors is used\nas the first parameter, a gradient with the contained colors will be created. The colors will be distributed evenly. If additionally to this array\na second array of gradient stop positions is given, the colors will be positioned at the given gradient stops. Possible gradient stop positions\nrange from 0 to 100. All parameter options allow for an additional name parameter at the end to name the new gradient.\nIf a string is used as the only parameter, the gradient with that name will be returned, if it exists in the document."
5+
description: "Creates a new gradient and adds it to the document, or gets a gradient by name from the document.\nIf two colors are given as the first two parameters, a gradient is created that blends between these two colors. If an array of colors is used as the first parameter, a gradient with the contained colors will be created. The colors will be distributed evenly. If additionally to this array a second array of gradient stop positions is given, the colors will be positioned at the given gradient stops. Possible gradient stop positions range from 0 to 100. All parameter options allow for an additional name parameter at the end to name the new gradient. If a string is used as the only parameter, the gradient with that name will be returned, if it exists in the document."
66
category: Color
77
subcategory: null
88
returns:

reference/color/gradientMode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
layout: entry
33
title: gradientMode
44
codetitle: gradientMode(gradientMode)
5-
description: 'Sets the gradient mode for gradient() to LINEAR or RADIAL. The default gradient mode is LINEAR.'
5+
description: 'Sets the gradient mode for gradient() to `LINEAR` or `RADIAL`. The default gradient mode is `LINEAR`.'
66
category: Color
77
subcategory: null
88
returns: null
99
parameters:
10-
- {name: gradientMode, description: 'LINEAR or RADIAL.', optional: false, type: [String]}
10+
- {name: gradientMode, description: '`LINEAR` or `RADIAL`.', optional: false, type: [String]}
1111
kind: function
1212
todo: null
1313
examples: []

reference/color/lerpColor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: lerpColor
44
codetitle: 'lerpColor(c1, c2, amt)'
5-
description: "Calculates a color or colors between two colors at a specific increment.\nThe amt parameter is the amount to interpolate between the two values where 0.0 equals the first color, 0.5 is half-way in between and 1.0 equals the second color.\nN.B.: Both colors must be either CMYK or RGB."
5+
description: "Calculates a color or colors between two colors at a specific increment.\nThe `amt` parameter is the amount to interpolate between the two values where 0.0 equals the first color, 0.5 is half-way in between and 1.0 equals the second color. N.B.: Both colors must be either CMYK or RGB."
66
category: Color
77
subcategory: null
88
returns:

reference/color/noFill.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: noFill
44
codetitle: noFill()
5-
description: "Disables filling geometry. If both noStroke() and noFill() are called,\nnewly drawn shapes will be invisible."
5+
description: 'Disables filling geometry. If both `noStroke()` and `noFill()` are called, newly drawn shapes will be invisible.'
66
category: Color
77
subcategory: null
88
returns: null

reference/color/noStroke.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: noStroke
44
codetitle: noStroke()
5-
description: "Disables drawing the stroke. If both noStroke() and noFill() are called,\nnewly drawn shapes will be invisible."
5+
description: 'Disables drawing the stroke. If both noStroke() and noFill() are called, newly drawn shapes will be invisible.'
66
category: Color
77
subcategory: null
88
returns: null

reference/data/CSV.decode.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: CSV.decode
44
codetitle: CSV.decode(String)
5-
description: "Function parses a string as CSV-object Array. Usage:\nvar arr = CSV.decode(str);\nvar str = CSV.encode(arr);"
5+
description: 'Function parses a string as CSV-object Array.'
66
category: Data
77
subcategory: CSV
88
returns:
@@ -13,6 +13,7 @@ parameters:
1313
- {name: String, description: 'to be parsed as CSV-object.', optional: false, type: [String]}
1414
kind: function
1515
todo: null
16-
examples: []
16+
examples:
17+
- {description: null, code: "var arr = CSV.decode(str);\nvar str = CSV.encode(arr);"}
1718

1819
---

reference/data/CSV.encode.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: CSV.encode
44
codetitle: CSV.encode(Array)
5-
description: "Function convert an javascript array of objects to a CSV-string. Usage:\nvar str = CSV.encode(arr);\nvar arr = CSV.decode(str);"
5+
description: 'Function convert an javascript array of objects to a CSV-string.'
66
category: Data
77
subcategory: CSV
88
returns:
@@ -13,6 +13,7 @@ parameters:
1313
- {name: Array, description: 'to be converted to a CSV-string', optional: false, type: [Array]}
1414
kind: function
1515
todo: null
16-
examples: []
16+
examples:
17+
- {description: null, code: "var str = CSV.encode(arr);\nvar arr = CSV.decode(str);"}
1718

1819
---

reference/data/JSON.decode.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: JSON.decode
44
codetitle: JSON.decode(String)
5-
description: "Function parses and validates a string as JSON-object. Usage:\nvar obj = JSON.decode(str);\nvar str = JSON.encode(obj);"
5+
description: 'Function parses and validates a string as JSON-object.'
66
category: Data
77
subcategory: JSON
88
returns:
@@ -13,6 +13,7 @@ parameters:
1313
- {name: String, description: 'to be parsed as JSON-object.', optional: false, type: [String]}
1414
kind: function
1515
todo: null
16-
examples: []
16+
examples:
17+
- {description: null, code: "var obj = JSON.decode(str);\nvar str = JSON.encode(obj);"}
1718

1819
---

reference/data/JSON.encode.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: entry
33
title: JSON.encode
44
codetitle: JSON.encode(Object)
5-
description: "Function convert an javascript object to a JSON-string. Usage:\nvar str = JSON.encode(obj);\nvar obj = JSON.decode(str);"
5+
description: 'Function convert an javascript object to a JSON-string.'
66
category: Data
77
subcategory: JSON
88
returns:
@@ -13,6 +13,7 @@ parameters:
1313
- {name: Object, description: 'to be converted to a JSON-string', optional: false, type: [Object]}
1414
kind: function
1515
todo: null
16-
examples: []
16+
examples:
17+
- {description: null, code: "var str = JSON.encode(obj);\nvar obj = JSON.decode(str);"}
1718

1819
---

0 commit comments

Comments
 (0)