diff options
Diffstat (limited to 'examples/blog/src/pages/posts/index.md')
-rw-r--r-- | examples/blog/src/pages/posts/index.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/blog/src/pages/posts/index.md b/examples/blog/src/pages/posts/index.md index 949dfb866..e118d869d 100644 --- a/examples/blog/src/pages/posts/index.md +++ b/examples/blog/src/pages/posts/index.md @@ -14,3 +14,13 @@ description: Just a Hello World Post! This is so cool! Do variables work {frontmatter.value * 2}? + +```javascript +// Example JavaScript + +const x = 7; +function returnSeven() { + return x; +} + +``` |