-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo.v
57 lines (40 loc) · 1.37 KB
/
demo.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
From mathcomp Require Import all_ssreflect.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
(**
what follows is a slide, it creates an index item next to the scroll bar,
just move the mouse there.
----------------------------------------------------------
#<div class="slide">#
** This is the title
some text
#<a href="https://example.com">some html link</a>#
This is inline Coq code [fun x => x] and now some block Coq code
#<div>#
*)
Check (fun n => 1 + n + 1).
(**
#</div>#
You cna also put latex math here
#$$ \sum_{i=1}^n (i * 2 - 1) = n ^ 2 $$#
finally some notes, hover to unravel
#<div class="note">(notes)<div class="note-text">#
You don't need to install Coq in order to follow this
class, you just need a recent browser thanks to
#<a href="https://github.com/ejgallego/jscoq">jsCoq</a>#.
#</div></div>#
#</div>#
----------------------------------------------------------
#<div class="slide vfill">#
** This is another title
a slide that is vfilled, if you click on (1) or next-slide
in the toolbar up-right to the coq document you get it centered.
#<div class="note">(notes)<div class="note-text">#
You don't need to install Coq in order to follow this
class, you just need a recent browser thanks to
#<a href="https://github.com/ejgallego/jscoq">jsCoq</a>#.
#</div></div>#
#</div>#
----------------------------------------------------------
*)