Re: [racket-users] Scribble examples for languages other than Racket

2019-01-25 Thread Ryan Kramer
On Thursday, January 24, 2019 at 9:45:39 PM UTC-6, Alex Knauth wrote: > > Would the `scribble-code-examples` package work for you? > https://docs.racket-lang.org/scribble-code-examples/index.html > > Looks like yes, it will! Thanks. -- You received this message because you are subscribed to the

Re: [racket-users] Scribble examples for languages other than Racket

2019-01-24 Thread Alex Knauth
Would the `scribble-code-examples` package work for you? https://docs.racket-lang.org/scribble-code-examples/index.html An example use of it might be: @code-examples[#:lang "plisqin" #:context #'here]|{ {where x.Foo > 3} }| Alex

[racket-users] Scribble examples for languages other than Racket

2019-01-22 Thread Ryan Kramer
I was thinking about how to document #lang plisqin, a language I am working on. I wanted to use the "examples" procedure from scribble/example. But it looks like when you use the #:lang option, it disables evaluation and printing of results. (The typesetting works fine though.) I came up with a