Skip to content

Commit 8821858

Browse files
authored
docs(ui5-text): use md syntax instead of HTML (#12703)
docs(ui5-text): use only md syntax instead of HTML
1 parent 538deb0 commit 8821858

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/main/src/Text.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ import styles from "./generated/themes/Text.css.js";
2222
/**
2323
* @class
2424
*
25-
* <h3>Overview</h3>
25+
* ### Overview
2626
*
2727
* The `ui5-text` component displays text that can be used in any content area of an application.
2828
*
29-
* <h3>Usage</h3>
29+
* ### Usage
3030
*
3131
* - Use the `ui5-text` if you want to display text inside a form, table, or any other content area.
3232
* - Do not use the `ui5-text` if you need to reference input type of components (use ui5-label).
3333
*
34-
* <h3>Responsive behavior</h3>
34+
* ### Responsive behavior
3535
*
3636
* The `ui5-text` component is fully adaptive to all screen sizes.
3737
* By default, the text will wrap when the space is not enough.
38-
* In addition, the component supports truncation via the <code>max-lines</code> property,
38+
* In addition, the component supports truncation via the `max-lines` property,
3939
* by defining the number of lines the text should wrap before start truncating.
4040
*
41-
* <h3>ES6 Module Import</h3>
41+
* ### ES6 Module Import
4242
*
43-
* <code>import "@ui5/webcomponents/dist/Text";</code>
43+
* `import "@ui5/webcomponents/dist/Text";`
4444
*
4545
* @constructor
4646
* @extends UI5Element

0 commit comments

Comments
 (0)