Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Oct 16, 2024
1 parent 5fdfdd2 commit 723f690
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ You can customize a few optional attributes when calling the custom element:
- `add-limit`: the number of rows to be added as limit to the query before being sent, if no limit has been defined by the user (default to none)
- `style="--btn-color / --btn-bg-color"`: buttons color.

You can also provide other HTML elements to be included under the SPARQL examples (e.g. about information and links to relevant resources):

```html
<sparql-editor
endpoint="https://www.bgee.org/sparql/,https://sparql.uniprot.org/sparql/"
Expand All @@ -136,10 +134,7 @@ You can also provide other HTML elements to be included under the SPARQL example
examples-on-main-page="10"
add-limit="10000"
style="--btn-color: white; --btn-bg-color: #00709b;"
>
<h1>About</h1>
<p>This SPARQL endpoint contains things</p>
</sparql-editor>
></sparql-editor>
```

### 📝 Basic example
Expand Down Expand Up @@ -168,10 +163,7 @@ Create a `index.html` file with:
examples-repo-add-url="https://github.com/sib-swiss/sparql-examples/new/master/examples/Bgee"
examples-on-main-page="10"
style="--btn-color: white; --btn-bg-color: #00709b;"
>
<h1>About</h1>
<p>This SPARQL endpoint contains...</p>
</sparql-editor>
></sparql-editor>
</div>
</body>
</html>
Expand Down

0 comments on commit 723f690

Please sign in to comment.