Skip to content

Commit 87ced23

Browse files
caitlinwheelesscaitlinwheelessrobot-ci-heartex
authored
docs: Fix formatting in Taxonomy tag params (#6977)
Co-authored-by: caitlinwheeless <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]>
1 parent e86a522 commit 87ced23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/tags/taxonomy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Use with the following data types: audio, image, HTML, paragraphs, text, time se
3030
| [placeholder=] | <code>string</code> | | What to display as prompt on the input |
3131
| [perRegion] | <code>boolean</code> | | Use this tag to classify specific regions instead of the whole object |
3232
| [perItem] | <code>boolean</code> | | Use this tag to classify specific items inside the object instead of the whole object |
33-
| [labeling] | <code>boolean</code> | | Use taxonomy to label regions in text. Only supported with <Text> and <HyperText> object tags. |
33+
| [labeling] | <code>boolean</code> | | Use taxonomy to label regions in text. Only supported with `<Text>` and `<HyperText>` object tags. |
3434
| [legacy] | <code>boolean</code> | | Use this tag to enable the legacy version of the Taxonomy tag. The legacy version supports the ability for annotators to add labels as needed. However, when true, the `apiUrl` parameter is not usable. |
3535

3636
### Example

web/libs/editor/src/tags/control/Taxonomy/Taxonomy.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ import { errorBuilder } from "../../../core/DataValidator/ConfigValidator";
7878
* @param {string} [placeholder=] - What to display as prompt on the input
7979
* @param {boolean} [perRegion] - Use this tag to classify specific regions instead of the whole object
8080
* @param {boolean} [perItem] - Use this tag to classify specific items inside the object instead of the whole object
81-
* @param {boolean} [labeling] - Use taxonomy to label regions in text. Only supported with <Text> and <HyperText> object tags.
81+
* @param {boolean} [labeling] - Use taxonomy to label regions in text. Only supported with `<Text>` and `<HyperText>` object tags.
8282
* @param {boolean} [legacy] - Use this tag to enable the legacy version of the Taxonomy tag. The legacy version supports the ability for annotators to add labels as needed. However, when true, the `apiUrl` parameter is not usable.
8383
*/
8484
const TagAttrs = types.model({

0 commit comments

Comments
 (0)