chore(render): document data-skip-in-text

Merged
AR
4mo ago
+25-0

Description

While reading Discussion #686, I noticed that data-skip-in-text is already supported by toPlainText(), but the behavior is not currently documented.

This PR adds a short explanation and example to the “Convert to Plain Text” section. It shows that an element and its contents are excluded from the plain-text output while remaining in the HTML output.

Related to #686.


Summary by cubic

Documented support for data-skip-in-text in the Convert to Plain Text docs. Adds an example and expected output showing elements with data-skip-in-text="true" are skipped by toPlainText() but still render in HTML.