Skip to content

Commit

Permalink
Merge pull request #778 from 3dmol/dkoes-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
dkoes authored Mar 13, 2024
2 parents 8c7eb4b + 93a6083 commit 0a69191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ See the [documentation](https://3dmol.org/doc/index.html) to learn how to use 3D

### [HTML](https://3dmol.org/doc/tutorial-embeddable.html)

<img src="examples/embed.png" width=400>

```html
<script src="https://3Dmol.org/build/3Dmol-min.js"></script>

<div style="width: 400px; height: 400px;"
class='viewer_3Dmoljs' data-pdb='4N8T' data-style='cartoon:color=spectrum'
data-surface='opacity:.7;color:white'></div>
```
![Alt Text](examples/embed.png | width=400)

#### JavaScript
We support the use of both PDB queries as well as PDB files.
Expand Down

0 comments on commit 0a69191

Please sign in to comment.