Skip to content

Commit afc779e

Browse files
committed
docs: clarify auto-highlighting
1 parent cf9df23 commit afc779e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Use the `HighlightSvelte` component for Svelte syntax highlighting.
143143

144144
## Auto-highlighting
145145

146-
The `HighlightAuto` component uses [highlightAuto](https://highlightjs.readthedocs.io/en/latest/api.html#highlightauto) API.
146+
The `HighlightAuto` component uses the [highlightAuto API](https://highlightjs.readthedocs.io/en/latest/api.html#highlightauto) and attempts to guess what grammar to use based on the provided `code`.
147147

148148
> [!WARNING]
149149
> Auto-highlighting will result in a larger bundle size. Specify a language if possible.

0 commit comments

Comments
 (0)