Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

A Jekyll include for embedding Online Python Tutor visualizations

License

NotificationsYou must be signed in to change notification settings

kevinlin1/jekyll-python-tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Automatically embedPython Tutor visualization buttons alongside your codelistings.

SeeJava Crash Course for a live demo of thejava_visualizer.htmlinclude. Each "Visualize Code" button is automatically generated from thepreceding code listing.

Usage

Download the appropriate visualization embed from_includesinto your Jekyll website's_includes folder. Then, follow the usageinstructions in the file.

{%- capture HelloWorld -%}print('Hello, world!'){%- endcapture -%}{% include pytutor_visualizer.html py="3" code=HelloWorld caption="Hello, world!" %}

The full list ofpybackend language flags can be found in Philip's repo.

{%- capture HelloWorld -%}public class HelloWorld {    public static void main(String[] args) {        System.out.println("Hello, world!");    }}{%- endcapture -%}{% include java_visualizer.html code=HelloWorld caption="Hello, world!" %}

About

A Jekyll include for embedding Online Python Tutor visualizations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp