Skip to content

Instantly share code, notes, and snippets.

@soegaard
Last active August 22, 2023 09:37
Show Gist options
  • Save soegaard/070a9de04815c3979a431cdcce1597ae to your computer and use it in GitHub Desktop.
Save soegaard/070a9de04815c3979a431cdcce1597ae to your computer and use it in GitHub Desktop.
Example of seclink in Scribble files
How to render html document
I used
raco scribble --htmls seclink-main.rkt
to render the document as multiple html files.
#lang scribble/manual
@(require (for-label racket))
@section[#:tag "sec:other-file"]{This section is in another file}
This section is in the file @tt{section-in-other-file.rkt}.
We can make a link to same section as before:
@seclink["ch:seclink-example"]{Link to the section "A Quick Example"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment