JavaScript will convert static markup into a full component structure.
<p class="js-show-more--one-line">
This is a JavaScript-enhanced single line example that will be truncated with an ellipsis. The markup is simpler, and the JavaScript will convert it to the full component structure. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p>
This is a JavaScript-enhanced single line example that will be truncated with an ellipsis. The markup is simpler, and the JavaScript will convert it to the full component structure. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<p class="js-show-more--one-line js-show-more--link">
This is a JavaScript-enhanced single line example that will be truncated with an ellipsis. The markup is simpler, and the JavaScript will convert it to the full component structure. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p>
This is a JavaScript-enhanced single line example that will be truncated with an ellipsis. The markup is simpler, and the JavaScript will convert it to the full component structure. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<p class="js-show-more--many-lines">
This is a JavaScript-enhanced multi-line example. The markup starts simple, then JavaScript builds the full component structure. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
This is a JavaScript-enhanced multi-line example. The markup starts simple, then JavaScript builds the full component structure. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<p class="js-show-more--many-lines js-show-more--link">
This is a JavaScript-enhanced multi-line example. The markup starts simple, then JavaScript builds the full component structure. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
This is a JavaScript-enhanced multi-line example. The markup starts simple, then JavaScript builds the full component structure. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.