Skip to content

Fix Markdown source loading in glpython macros - #1

Merged
cedricvogel-leo merged 2 commits into
mainfrom
fix/macro-source-forwarding
Oct 20, 2026
Merged

cedricvogel-leo merged 2 commits into
mainfrom
fix/macro-source-forwarding

Conversation

@cedricvogel-leo

Copy link
Copy Markdown
Collaborator

Summary

  • read fenced Python from the generated LiaScript editor element
  • pair each macro with its nearest preceding code block
  • keep the native LiaScript editor hidden
  • report an explicit error if LiaScript source cannot be read

Validation

  • verified eval source in the live LiaScript renderer and glpython Monaco model
  • verified turtle source in the live LiaScript renderer and glpython Monaco model
  • confirmed native LiaScript blocks remain hidden

cedricvogel-leo and others added 2 commits October 20, 2026 17:35
Use LiaScript's code-block input binding instead of forwarding a nested literal macro argument.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve the code block paired with each macro and load its editor value before hiding the native UI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant