-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLinks.scrbl
23 lines (18 loc) · 1.03 KB
/
Links.scrbl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#lang scribble/doc
@(require scribble/html-properties
scribble/latex-properties
scribble/core
scribble/sigplan
scribble/base
scribble/manual
scriblib/autobib
scriblib/footnote
scriblib/figure)
@title{Links}
See @secref["base-links" #:doc '(lib "scribblings/scribble/scribble.scrbl")] in the @hyperlink["file:///usr/share/doc/racket/scribble/base.html#%28part._base-links%29"]{Scribble Guide}
Inserting a url is simple:
@codeblock|{@url{https://www.youtube.com/watch?v=a-Kmn24RxWI}}|
@url{https://www.youtube.com/watch?v=a-Kmn24RxWI}
Embedding a hyperlink requires three components. You need to call the @literal|{@hyperlink}| function, you need to place the link in quotes between brackets [""], and you need to place the text you want visible in curly brackets {}.
So if you type: @codeblock|{@hyperlink["https://youtu.be/LNCC6ZYI3SI"]{What sound does a rhinoceros make?}}|
It will export as: @hyperlink["https://youtu.be/LNCC6ZYI3SI"]{What sound does a rhinoceros make?}