Skip to content

Commit 9647ebe

Browse files
committed
Fix prettier formatting
1 parent 0c726a1 commit 9647ebe

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

wasm/lib/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ A Python-3 (CPython >= 3.8.0) Interpreter written in Rust.
1515

1616
## Goals
1717

18-
- Full Python-3 environment entirely in Rust (not CPython bindings)
19-
- A clean implementation without compatibility hacks
18+
- Full Python-3 environment entirely in Rust (not CPython bindings)
19+
- A clean implementation without compatibility hacks
2020

2121
## Quick Documentation
2222

@@ -28,12 +28,12 @@ pyEval(code, options?);
2828
2929
`options`:
3030
31-
- `vars?`: `{ [key: string]: any }`: Variables passed to the VM that can be
32-
accessed in Python with the variable `js_vars`. Functions do work, and
33-
receive the Python kwargs as the `this` argument.
34-
- `stdout?`: `"console" | ((out: string) => void) | null`: A function to replace the
35-
native print function, and it will be `console.log` when giving `undefined`
36-
or "console", and it will be a dumb function when giving null.
31+
- `vars?`: `{ [key: string]: any }`: Variables passed to the VM that can be
32+
accessed in Python with the variable `js_vars`. Functions do work, and
33+
receive the Python kwargs as the `this` argument.
34+
- `stdout?`: `"console" | ((out: string) => void) | null`: A function to replace the
35+
native print function, and it will be `console.log` when giving `undefined`
36+
or "console", and it will be a dumb function when giving null.
3737
3838
## License
3939

wasm/notebook/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ You can use the notebook to experiment with using Python and Javascript in the b
1010

1111
The main use case is for scientific communication where you can have:
1212

13-
- text or thesis in markdown,
14-
- math with Tex,
15-
- a model or analysis written in python,
16-
- a user interface and interactive visualization with JS.
13+
- text or thesis in markdown,
14+
- math with Tex,
15+
- a model or analysis written in python,
16+
- a user interface and interactive visualization with JS.
1717

1818
The Notebook loads python in your browser (so you don't have to install it) then let yous play with those languages.
1919

@@ -25,14 +25,14 @@ To read more about the reasoning behind certain features, check the blog on [htt
2525

2626
Sample notebooks are under `snippets`
2727

28-
- `snippets/python-markdown-math.txt`: python, markdown and math
29-
- `snippets/python-js.txt`, adds javascript
30-
- `snippets/python-js-css-md/` adds styling with css in separate, more organized files.
28+
- `snippets/python-markdown-math.txt`: python, markdown and math
29+
- `snippets/python-js.txt`, adds javascript
30+
- `snippets/python-js-css-md/` adds styling with css in separate, more organized files.
3131

3232
## How to use
3333

34-
- Run locally with `npm run dev`
35-
- Build with `npm run dist`
34+
- Run locally with `npm run dev`
35+
- Build with `npm run dist`
3636

3737
## JS API
3838

@@ -96,6 +96,6 @@ assert adder(5) == 9
9696

9797
## Wish list / TO DO
9898

99-
- Collaborative peer-to-peer editing with WebRTC. Think Google Doc or Etherpad editing but for code in the browser
100-
- `%%load` command for dynamically adding javascript libraries or css framework
101-
- Clean up and organize the code. Seriously rethink if we want to make it more than a toy.
99+
- Collaborative peer-to-peer editing with WebRTC. Think Google Doc or Etherpad editing but for code in the browser
100+
- `%%load` command for dynamically adding javascript libraries or css framework
101+
- Clean up and organize the code. Seriously rethink if we want to make it more than a toy.

0 commit comments

Comments
 (0)