Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions content/mdx-expression-test.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: MDX Expression Test
---

# Expression Test

This page tests whether MDX expressions are executed by the renderer.

## Arithmetic Expression

The result of 1 + 1 is: {1 + 1}

## typeof Expression

The type of `window` in the browser is: {typeof window}

## Array Expression

The length of [1, 2, 3] is: {[1, 2, 3].length}