Skip to content

Commit 2cd7760

Browse files
committed
Add code sections to text
1 parent d0026c7 commit 2cd7760

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

contents/graham_scan/graham_scan.md

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ We can find whether a rotation is counter-clockwise with trigonometric functions
3232
[import:18-20, lang="cpp"](code/c++/graham_scan.cpp)
3333
{% sample lang="coco" %}
3434
[import:4-8, lang="coconut"](code/coconut/graham_scan.coco)
35+
{%sample lang="elisp" %}
36+
[import:15-22, lang="elisp"](code/elisp/graham-scan.el)
3537
{% endmethod %}
3638

3739
If the output of this function is 0, the points are collinear.
@@ -66,6 +68,8 @@ In the end, the code should look something like this:
6668
[import:26-62, lang="cpp"](code/c++/graham_scan.cpp)
6769
{% sample lang="coco" %}
6870
[import:17-30, lang="coconut"](code/coconut/graham_scan.coco)
71+
{%sample lang="elisp" %}
72+
[import:24-38, lang="elisp"](code/elisp/graham-scan.el)
6973
{% endmethod %}
7074

7175
### Bibliography
@@ -95,6 +99,8 @@ In the end, the code should look something like this:
9599
[import, lang="cpp"](code/c++/graham_scan.cpp)
96100
{%sample lang="coco" %}
97101
[import, lang="coconut"](code/coconut/graham_scan.coco)
102+
{%sample lang="elisp" %}
103+
[import, lang="elisp"](code/elisp/graham-scan.el)
98104
{% endmethod %}
99105

100106
<script>

0 commit comments

Comments
 (0)