2023-06-16 18:02:28 +02:00
|
|
|
# Commedia: Arc Diagram per marcatura sintattica (current)
|
2023-04-27 12:43:37 +02:00
|
|
|
|
2023-06-16 18:02:28 +02:00
|
|
|
https://observablehq.com/d/673687d66622d33f@1401
|
2023-04-27 12:43:37 +02:00
|
|
|
|
|
|
|
View this notebook in your browser by running a web server in this folder. For
|
|
|
|
example:
|
|
|
|
|
|
|
|
~~~sh
|
|
|
|
npx http-server
|
|
|
|
~~~
|
|
|
|
|
|
|
|
Or, use the [Observable Runtime](https://github.com/observablehq/runtime) to
|
|
|
|
import this module directly into your application. To npm install:
|
|
|
|
|
|
|
|
~~~sh
|
|
|
|
npm install @observablehq/runtime@5
|
2023-06-16 18:02:28 +02:00
|
|
|
npm install https://api.observablehq.com/d/673687d66622d33f@1401.tgz?v=3
|
2023-04-27 12:43:37 +02:00
|
|
|
~~~
|
|
|
|
|
|
|
|
Then, import your notebook and the runtime as:
|
|
|
|
|
|
|
|
~~~js
|
|
|
|
import {Runtime, Inspector} from "@observablehq/runtime";
|
2023-06-16 18:02:28 +02:00
|
|
|
import define from "673687d66622d33f";
|
2023-04-27 12:43:37 +02:00
|
|
|
~~~
|
|
|
|
|
|
|
|
To log the value of the cell named “foo”:
|
|
|
|
|
|
|
|
~~~js
|
|
|
|
const runtime = new Runtime();
|
|
|
|
const main = runtime.module(define);
|
|
|
|
main.value("foo").then(value => console.log(value));
|
|
|
|
~~~
|