Skip to content

Commit e1e5034

Browse files
committed
Add text version of the program to the 'Example code' section
1 parent 76c98e2 commit e1e5034

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

contents/euclidean_algorithm/euclidean_algorithm.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,17 @@ and modulo method:
178178
{% sample lang="st" %}
179179
[import, lang="smalltalk"](code/smalltalk/euclid.st)
180180
{% sample lang="piet" %}
181+
A text version of the program is provided for both versions.
182+
#### Subtraction
181183
> ![](code/piet/subtract/euclidian_algorithm_subtract_large.png) ![](code/piet/subtract/euclidian_algorithm_subtract.png)
182184
185+
[import:23-107](code/piet/euclidian_algorithm.piet)
186+
187+
#### Modulo
183188
> ![](code/piet/mod/euclidian_algorithm_mod_large.png) ![](code/piet/mod/euclidian_algorithm_mod.png)
184-
{% endmethod %}
185189
190+
[import:126-146](code/piet/euclidian_algorithm.piet)
191+
{% endmethod %}
186192

187193
<script>
188194
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);

0 commit comments

Comments
 (0)