{"size": 599, "ext": "scrbl", "max_stars_repo_path": "htdp-doc/teachpack/2htdp/scribblings/web-io.scrbl", "max_stars_repo_name": "bdeket/htdp", "max_stars_repo_stars_event_min_datetime": "2015-01-14T20:28:41.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-20T04:04:26.000Z", "max_issues_repo_path": "htdp-doc/teachpack/2htdp/scribblings/web-io.scrbl", "max_issues_repo_name": "bdeket/htdp", "max_issues_repo_issues_event_min_datetime": "2015-01-14T19:50:21.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-19T21:38:00.000Z", "max_forks_repo_path": "htdp-doc/teachpack/2htdp/scribblings/web-io.scrbl", "max_forks_repo_name": "bdeket/htdp", "max_forks_repo_forks_event_min_datetime": "2015-01-14T19:11:38.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-24T05:11:39.000Z"}
{"max_stars_count": 85, "max_issues_count": 132, "max_forks_count": 81, "avg_line_length": 23.0384615385, "max_line_length": 65, "alphanum_fraction": 0.7178631052}
#lang scribble/manual

@(require "shared.rkt" (for-label racket xml/xml))

@teachpack["web-io"]{Web IO}
@author{Matthias Felleisen}

@defmodule[#:require-form beginner-require 2htdp/web-io]

The teachpack provides a single function: 

@defproc[(show-in-browser [x xexpr?]) string?]{
 Translates the given X-expression into a String. It also has the
 @bold{effect} of opening an external browser and displaying the
 X-expression rendered as XHTML.

@bold{Example}

@racketblock[(show-in-browser '(html (body (b "hello world"))))]

}

@history[
 #:added "1.0" @;{list{Fri Nov  3 11:49:40 EDT 2017}}
]
