Skip to content

Commit

Permalink
Improve Python and additional exercise engine support (#724)
Browse files Browse the repository at this point in the history
Co-authored-by: Nischal Shrestha <bitsorific@gmail.com>
  • Loading branch information
gadenbuie and nischalshrestha committed Aug 29, 2022
1 parent 5757480 commit 8d6bc72
Show file tree
Hide file tree
Showing 10 changed files with 393 additions and 113 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Suggests:
DBI (>= 0.4-1),
httpuv,
later,
reticulate,
RSQLite,
rstudioapi (>= 0.11),
shinytest2,
Expand Down
12 changes: 12 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ S3method(question_ui_initialize,learnr_numeric)
S3method(question_ui_initialize,learnr_radio)
S3method(question_ui_initialize,learnr_text)
S3method(question_ui_try_again,default)
S3method(render_exercise_post_stage_hook,default)
S3method(render_exercise_post_stage_hook,python)
S3method(render_exercise_prepare,default)
S3method(render_exercise_prepare,python)
S3method(render_exercise_prepare,sql)
S3method(render_exercise_result,default)
S3method(render_exercise_result,python)
S3method(render_exercise_result,sql)
S3method(render_exercise_rmd_prep,default)
S3method(render_exercise_rmd_user,default)
S3method(render_exercise_rmd_user,python)
S3method(render_exercise_rmd_user,sql)
export(answer)
export(answer_fn)
export(available_tutorials)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@

- Exercise editors now use syntax highlighting and basic autocompletion for exercises in languages other than R with syntax highlighting support for JavaScript, Julia, Python and SQL (#693).

- Broadly improved support for additional programming languages and added support for Python exercises (#724).

## Interactive Exercises and Questions

### Exercises
Expand Down
Loading

0 comments on commit 8d6bc72

Please sign in to comment.