diff --git a/src/components/annotations/attributes.js b/src/components/annotations/attributes.js index 45005977486..9dfb760d681 100644 --- a/src/components/annotations/attributes.js +++ b/src/components/annotations/attributes.js @@ -49,9 +49,9 @@ module.exports = templatedArray('annotation', { description: [ 'Sets the text associated with this annotation.', 'Plotly uses a subset of HTML tags to do things like', - 'newline (
), bold (), italics (),', - 'hyperlinks (). Tags , , , , ', - ' are also supported.' + 'newline (`
`), bold (``), italics (``),', + 'hyperlinks (``). Tags ``, ``,', + '``, ``, ``, and `` are also supported.' ].join(' ') }, textangle: { diff --git a/src/components/errorbars/attributes.js b/src/components/errorbars/attributes.js index d564fe00562..bd57eb82e40 100644 --- a/src/components/errorbars/attributes.js +++ b/src/components/errorbars/attributes.js @@ -16,7 +16,7 @@ module.exports = { description: [ 'Determines the rule used to generate the error bars.', - 'If *constant`, the bar lengths are of a constant value.', + 'If *constant*, the bar lengths are of a constant value.', 'Set this constant in `value`.', 'If *percent*, the bar lengths correspond to a percentage of', diff --git a/src/plots/template_attributes.js b/src/plots/template_attributes.js index 9f01f920688..1daa3f77edd 100644 --- a/src/plots/template_attributes.js +++ b/src/plots/template_attributes.js @@ -75,7 +75,7 @@ exports.hovertemplateAttrs = function(opts, extra) { 'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.', 'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.', descPart, - 'Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}".', + 'Anything contained in tag `` is displayed in the secondary box, for example `%{fullData.name}`.', 'To hide the secondary box completely, use an empty tag ``.' ].join(' ') }; diff --git a/src/traces/contour/attributes.js b/src/traces/contour/attributes.js index 3562a98c641..191cfa7f17c 100644 --- a/src/traces/contour/attributes.js +++ b/src/traces/contour/attributes.js @@ -226,11 +226,11 @@ module.exports = extendFlat({ 'Sets the value or values of the constraint boundary.', 'When `operation` is set to one of the comparison values', - '(' + COMPARISON_OPS2 + ')', + '(`' + COMPARISON_OPS2 + '`)', '*value* is expected to be a number.', 'When `operation` is set to one of the interval values', - '(' + INTERVAL_OPS + ')', + '(`' + INTERVAL_OPS + '`)', '*value* is expected to be an array of two numbers where the first', 'is the lower bound and the second is the upper bound.', ].join(' ')