courses
courses copied to clipboard
XML tags are hidden in the GitHub notebook preview
In the prompt_engineering_interactive_tutorial/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb notebook, for instance, even though this line of code contains XML tags, they are not visible in the GitHub preview:
Since it looks like a GitHub issue I created this discussion in the GitHub community: https://github.com/orgs/community/discussions/137038
GitHub is pretty bad at rendering notebooks generally - in Mobile Safari the code blocks have no horizontal scrollbar, making it impossible to read them.
I recommend building the notebooks into HTML and publishing those with GitHub Pages instead:
jupyter nbconvert --to html notebook.ipynb
Run that against each file to get the .html version, then setup a GitHub Actions workflow (3.5 Sonnet knows how to do that) to publish those to Pages for this repo.