Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 652 Bytes

File metadata and controls

43 lines (24 loc) · 652 Bytes

(oxa:codeexpr)=

CodeExpr

An executable expression embedded within prose.

type: string, ("CodeExpr")

: The type discriminator for CodeExpr nodes.

id: string

: A unique identifier for the node.

classes: array ("string")

: A list of class names for styling or semantics.

data: object

: Arbitrary key-value data attached to the node.

code: string

: The expression to evaluate.

language: string

: The programming language identifier for the expression.

Example

````{tab-item} OXA
:sync: oxa
```json
{"type":"CodeExpr","language":"python","code":"len(df)"}
```
````