Skip to content

Commit 903b9c5

Browse files
committed
Refer to index.html in Readme instead of showing code
1 parent d64d89f commit 903b9c5

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

README.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,8 @@ or
2828

2929
Now you can add the javascript bundle and css bundle to your web page either directly or through
3030
an import with Webpack or native ECMAscript modules and CSS modules.
31-
32-
If you want to include it into CSS directly, follow this minimal example:
33-
34-
35-
```
36-
<!doctype html>
37-
<html lang="en">
38-
<head>
39-
<meta charset="utf-8" />
40-
<title>Your page</title>
41-
</head>
42-
<body class="level2">
43-
<script src="node_modules/@rnacentral/rnacentral-sequence-search-embed/dist/rnacentral-sequence-search.js"></script>
44-
<rnacentral-sequence-search databases='["mirbase"]'/>
45-
</body>
46-
</html>
47-
```
48-
49-
Note that we import the javascript bundle in `<body>` and css bundle
50-
in `<head>`.
5131

52-
Also take note, how we initialize the plugin with `ReactDOM.render`
53-
and tell it to render the plugin into `'div#sequence-search'` element,
54-
of the page above.
32+
For a minimal example, see [index.html](./index.html).
5533

5634
Javascript bundle is wrapped into a UMD wrapper and should be safe
5735
to use with ECMAscript modules and AMD/Require.js. CSS bundle is

0 commit comments

Comments
 (0)