Skip to content

Commit a4be774

Browse files
authored
Use GitHub admonition for browser support warning (#1997)
1 parent 516da3a commit a4be774

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ npm install @elastic/elasticsearch@<major>
7373

7474
#### Browser
7575

76-
WARNING: There is no official support for the browser environment. It exposes your Elasticsearch instance to everyone, which could lead to security issues.
76+
> [!WARNING]
77+
> There is no official support for the browser environment. It exposes your Elasticsearch instance to everyone, which could lead to security issues.
7778
We recommend that you write a lightweight proxy that uses this client instead, you can see a proxy example [here](./docs/examples/proxy).
7879

7980
## Documentation

0 commit comments

Comments
 (0)