[racket] code to HTML
Not to be too ludditian, but why not just pull it up in drracket in class?
If not, I guess you could put together a script that stuck
(racketblock ...) around everything or the module-enhanced variant,
which makes it into a scribble file and then run scribble --html on
that.
Robby
On Fri, Mar 18, 2011 at 1:22 PM, Todd O'Bryan <toddobryan at gmail.com> wrote:
> Given that Scribble does it, I imagine that there's a way to convert a
> .rkt file into something that would look similar in a web browser. Is
> there a (not-too-complicated) way to convert a file in WXME format
> into something I could inline in an HTML document so that it would
> look reasonable. Relatedly, if I have Racket code in plain text format
> (which leaves out images and such), can that be converted to HTML with
> syntax coloring.
>
> What I have in mind is having my students upload code to a website and
> then being able to pull up their code from the website on a projector
> so we can discuss it in class.
>
> Todd
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>