Skip to content

Commit

Permalink
Try to fix formatting issue in curies.md (#453)
Browse files Browse the repository at this point in the history
* Try to fix formatting issue

* Update curies.md

* Update curies.md to use 4 spaces
  • Loading branch information
lubianat authored Oct 18, 2023
1 parent 462c8de commit d63ca33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorial/curies.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ There are several ways to load a converter:

1. From a pre-defined context, like the OBO Foundry, Bioregistry, Monarch, or others
2. From a prefix map
```python

```python

import curies

prefix_map = {
"CHEBI": "http://purl.obolibrary.org/obo/CHEBI_",
}
converter = curies.load_prefix_map(prefix_map)
```

3. From an _extended_ prefix map. This is the preferred format since it supports synonyms for CURIE prefixes and URI
prefixes. See [here](https://curies.readthedocs.io/en/latest/tutorial.html#loading-extended-prefix-maps).
4. From a JSON-LD context
Expand Down

0 comments on commit d63ca33

Please sign in to comment.