Embed gists and link repos where learners code.
免费试用 14 天,无需信用卡
GitHub content reaches LearnHouse lessons as links to repositories and pull requests, and single files can be shown inline through emgithub's iframe embed.
Show a single source file from a public repo through emgithub's iframe embed.

def total(cart): return sum(cart) ✓ 3 个测试通过
Paste the file's GitHub URL into emgithub, choose the iframe option and copy the code into an Embed block.
Add the repository link to the lesson.
Ask for a repo or pull request link in an assignment.
Gist embeds use a script tag, which LearnHouse strips for safety. Link the gist, or show the file through emgithub.
Use a LearnHouse code playground for runnable exercises.
