Skip to content

Instantly share code, notes, and snippets.

@dyoo
Last active December 16, 2015 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dyoo/5423623 to your computer and use it in GitHub Desktop.
Save dyoo/5423623 to your computer and use it in GitHub Desktop.
An example of escapes for @
#lang scribble/base
@title{Larger example}
@(define (double x)
(list x x))
@; Everything within the following will be escaped. use |^ to unescape.
@list|^{
this is an example with @ signs in it. I can still
use @ by using it like this: |^@tt{Hello world}, right?
Let's try another paragraph.
|^@section{Section one}
This is a first section with @ signs in it.
|^@section{Section two}
Here is another section with @ signs. We can still
call functions like this: |^@double{@double{quad}}.
}^|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment