Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ comment: Embed the glpython editor, execution visualizer, and turtle graphics
<script run-once>
(() => {
const protocolVersion = 3
const embedOrigin = "https://cedricvogel-leo.github.io"
const embedOrigin = "https://glpython-edu.github.io"
const embedUrl = `${embedOrigin}/glpython-editor/index.html`
const sessionId = "@0"
const mode = "@1"
Expand Down Expand Up @@ -538,7 +538,7 @@ comment: Embed the glpython editor, execution visualizer, and turtle graphics
# glpython for LiaScript

Run and visualize Python directly in a LiaScript course with the browser-based
[glpython](https://github.com/cedricvogel-leo/glpython) editor.
[glpython](https://github.com/glpython-edu/glpython) editor.

The macros use LiaScript's native editor as the source of truth and a separately
hosted iframe for execution and visualization. Python runs locally in the learner's browser through Pyodide; the current source is sent for each action through an
Expand All @@ -549,7 +549,7 @@ origin-checked, versioned handshake.
Add the template to the header of a LiaScript course:

```text
import: https://raw.githubusercontent.com/cedricvogel-leo/glpython-liascript/main/README.md
import: https://raw.githubusercontent.com/glpython-edu/glpython-liascript/main/README.md
```

## Editor and visualizer
Expand Down Expand Up @@ -783,7 +783,7 @@ English. Python's own values and error messages are never translated.
The template currently targets:

```text
https://cedricvogel-leo.github.io/glpython-editor/
https://glpython-edu.github.io/glpython-editor/
```

The embed protocol is versioned independently of the course template.
Expand All @@ -799,7 +799,7 @@ Open this file through the LiaScript LiveEditor to exercise the real macro
environment:

```text
https://liascript.github.io/LiveEditor/?/show/file/https://raw.githubusercontent.com/cedricvogel-leo/glpython-liascript/main/README.md
https://liascript.github.io/LiveEditor/?/show/file/https://raw.githubusercontent.com/glpython-edu/glpython-liascript/main/README.md
```

`node scripts/check-macro.mjs` checks the syntax of the template's `<script>`
Expand Down
2 changes: 1 addition & 1 deletion examples/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ comment: Test page for the glpython macro's features= / large options: one
block per course profile, two blocks with the same profile, a
program of two files, and a wrong option.

import: https://raw.githubusercontent.com/cedricvogel-leo/glpython-liascript/main/README.md
import: https://raw.githubusercontent.com/glpython-edu/glpython-liascript/main/README.md

@Code.erkunden: @GLPython.eval(features=run,repl,visualize,reset @0)

Expand Down
Loading