Skip to content

Commit 48dfb21

Browse files
committed
Doc
1 parent 1c852c6 commit 48dfb21

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ I highly rate the [`vscode-copy-github-permalink` plugin](https://marketplace.vi
2121
https://codesandbox.io/s/exciting-nova-js5zlk?file=/src/App.js
2222

2323

24+
## Language Support
25+
26+
Langauge is naively auto detected based on file extension. See [logic here for all auto-detected languages](https://github.com/dwjohnston/react-github-permalink/pull/73/files#diff-b6feb43e40d6eae1cba733450d691be8f83a1a50ecbff1b890cd343b2039ece1).
27+
28+
If this does not suit you, you can override the autodetected langauage with the `language` prop.
29+
30+
31+
32+
2433
## RSC Compatibility / Three modes of operation
2534

2635
This package is compatible with Next 13+ and the components can be used as RSCs if you wish.

0 commit comments

Comments
 (0)