Putting Your Code on Another Site

This section assumes that you already have a Tumblr account (or an account on a similar service). The instructions should work for most sites, but all posting services have their own quirks that you may have to debug on your own. Also note that the Tumblr controls may change over time and may not look or work exactly as shown here.

Posting our code to Tumblr is pretty easy. Start a post like normal, but be sure to click the <html> button in the post’s toolbar:

images/appendix_tumblr/tumblr_enable_html_mode.png

The <html> button should be blue when enabled (but it might be a different color, depending on your Tumblr theme).

Next add some HTML and a place for your ...

Get 3D Game Programming for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.