Skip to content

Commit

Permalink
syntax hl
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed May 4, 2024
1 parent e35d218 commit 021ae28
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ sphinx:
parse:
myst_enable_extensions:
# - amsmath
- attrs_inline
- colon_fence
- deflist
- dollarmath
Expand Down
22 changes: 11 additions & 11 deletions language.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Summary

In the scope of a `BoNesis(dom, data)` object, the following methods are
In the scope of a `BoNesis(dom, data)`{l=python} object, the following methods are
defined.

<table class="table">
Expand All @@ -19,19 +19,19 @@ Objects
</tr>
<tr><td>

`O = obs({a: 1, b: 1, ...})`
`O = obs({a: 1, b: 1, ...})`{l=python}

</td><td>

Observation from partial mapping of components to `0` or `1` (`dict`-like object)
Observation from partial mapping of components to `0`{l=python} or `1`{l=python} (`dict`-like object)

</td></tr><tr><td>

`O = obs("name")`
`O = obs("name")`{l=python}

</td><td>

Named observation defined in the `data` dictionnary
Named observation defined in the `data`{l=py} dictionnary

</td></tr>

Expand All @@ -47,27 +47,27 @@ Properties
</td></tr>
<tr><td>

`fixed(C)`
`fixed(C)`{l=python}

</td><td>

Configuration `C` is a fixed point
Configuration `C`{l=python} is a fixed point

</td></tr><tr><td>

`fixed(O)`
`fixed(O)`{l=python}

</td><td>

There exists a trap space where observation `O` is fixed
There exists a trap space where observation `O`{l=python} is fixed

</td></tr><tr><td>

`in_attractor(C)`
`in_attractor(C)`{l=python}

</td><td>

Configuration `C` belongs to an attractor
Configuration `C`{l=python} belongs to an attractor

</table>

Expand Down

0 comments on commit 021ae28

Please sign in to comment.