Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a browser lesson #262

Closed
13 tasks done
donkirkby opened this issue Feb 9, 2020 · 0 comments
Closed
13 tasks done

Create a browser lesson #262

donkirkby opened this issue Feb 9, 2020 · 0 comments

Comments

@donkirkby
Copy link
Owner

donkirkby commented Feb 9, 2020

Similar to the start and goal files that PyCharm's live turtle supports, try to make a browser lesson based on some of the early lessons in the Python tutorial.

  • Parse and display markdown source with editor for code blocks.
  • Trigger onChange() event.
  • Load markdown from JSON file based on queryParam.
  • Display output.
  • Compare goal with output. (Put goal code in same code block.)
  • Add progress bar.
  • Apply a theme to the page, maybe Bulma?
  • Add a reset button that puts source code back to start.
  • Start a table of contents for lessons on default lesson.
  • Add an options section: first option is to disable live coding for REPL code samples. Declare option with ### static ###.
  • Detect REPL code samples by looking for ">>>" and disable live coding. Force live coding with ### live ###.
  • Rename "lesson" to "tutorial".
  • Link to tutorial source folder from edit link at bottom of page.
@donkirkby donkirkby added this to the 4.1 - Browser back milestone Feb 9, 2020
donkirkby added a commit that referenced this issue Feb 21, 2020
donkirkby added a commit that referenced this issue Feb 26, 2020
donkirkby added a commit that referenced this issue Mar 22, 2020
Don't deploy new web site yet, though.
Switch to Google Analytics built into Jekyll theme.
donkirkby added a commit that referenced this issue Mar 22, 2020
Change progress bar colour at completion.
This was referenced Mar 24, 2020
donkirkby added a commit that referenced this issue Mar 26, 2020
Add support for footnote links in lessons.
Also stop highlighting the active line in output fields, because it hides the difference markers.
Move default lesson text out of source code and into index.md.
Collect lesson text before building web site.
donkirkby added a commit that referenced this issue Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant