Commit 4b06f4cd authored by Robert Ricci's avatar Robert Ricci

Try out a version of code-sample that doesn't try to parse the code

This fixes the #; problem where Racket thinks it is trying to parse
racket code, but the typesetting is poorer
parent e8788149
#; Import the ProtoGENI library.
# Import the ProtoGENI library.
import geni.rspec.pg as pg
#; Create a Request object to start building the RSpec.
# Create a Request object to start building the RSpec.
rspec = pg.Request()
#; Create a XenVM and add it to the RSpec.
# Create a XenVM and add it to the RSpec.
node = pg.XenVM("node")
rspec.addResource(node)
#; Output the RSpec to the enclosing page.
# Output the RSpec to the enclosing page.
printRspec(rspec)
......@@ -119,4 +119,4 @@
(tt "ssh"))
(define (code-sample filename)
(codeblock (file->string (string-append "code-samples/" filename))))
(code-inset (verbatim (file->string (string-append "code-samples/" filename)))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment