Skip to content

Commit a795c9f

Browse files
committed
minor formatting fixes to make better Markdown
1 parent 021289c commit a795c9f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/components/annotations/attributes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ module.exports = templatedArray('annotation', {
4949
description: [
5050
'Sets the text associated with this annotation.',
5151
'Plotly uses a subset of HTML tags to do things like',
52-
'newline (<br>), bold (<b></b>), italics (<i></i>),',
53-
'hyperlinks (<a href=\'...\'></a>). Tags <em>, <sup>, <sub>, <s>, <u>',
54-
'<span> are also supported.'
52+
'newline (`<br>`), bold (`<b></b>`), italics (`<i></i>`),',
53+
'hyperlinks (`<a href=\'...\'></a>`). Tags `<em>`, `<sup>`,',
54+
'`<sub>`, `<s>`, `<u>`, and `<span>` are also supported.'
5555
].join(' ')
5656
},
5757
textangle: {

src/components/errorbars/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
description: [
1717
'Determines the rule used to generate the error bars.',
1818

19-
'If *constant`, the bar lengths are of a constant value.',
19+
'If *constant*, the bar lengths are of a constant value.',
2020
'Set this constant in `value`.',
2121

2222
'If *percent*, the bar lengths correspond to a percentage of',

src/traces/contour/attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ module.exports = extendFlat({
226226
'Sets the value or values of the constraint boundary.',
227227

228228
'When `operation` is set to one of the comparison values',
229-
'(' + COMPARISON_OPS2 + ')',
229+
'(`' + COMPARISON_OPS2 + '`)',
230230
'*value* is expected to be a number.',
231231

232232
'When `operation` is set to one of the interval values',
233-
'(' + INTERVAL_OPS + ')',
233+
'(`' + INTERVAL_OPS + '`)',
234234
'*value* is expected to be an array of two numbers where the first',
235235
'is the lower bound and the second is the upper bound.',
236236
].join(' ')

0 commit comments

Comments
 (0)