about summary refs log tree commit diff stats
path: root/js/baba-yaga/dev/vscode/test-markdown.md
diff options
context:
space:
mode:
Diffstat (limited to 'js/baba-yaga/dev/vscode/test-markdown.md')
-rw-r--r--js/baba-yaga/dev/vscode/test-markdown.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/js/baba-yaga/dev/vscode/test-markdown.md b/js/baba-yaga/dev/vscode/test-markdown.md
new file mode 100644
index 0000000..e387cb5
--- /dev/null
+++ b/js/baba-yaga/dev/vscode/test-markdown.md
@@ -0,0 +1,38 @@
+# Baba Yaga Code Examples
+
+Here's some regular text.
+
+```baba
+// This is a comment - should not have type hints
+add : Int -> Int -> Int;
+add(x, y) : x + y;
+
+// Another comment
+result : add(5, 3); // Should show type hint here
+name : "World";
+greeting : str.concat("Hello, ", name); // Should show type hint
+
+result_check : when result is
+  8 then "correct"
+  _ then "wrong";
+
+// Math example
+value : math.sqrt(16);
+```
+
+More regular markdown text.
+
+```javascript
+// This is JavaScript, not Baba Yaga
+function test() {
+  return 42;
+}
+```
+
+Another Baba Yaga block:
+
+```baba-yaga
+// Alternative syntax
+list : [1, 2, 3];
+doubled : map(x -> x * 2, list);
+```