This file isolates fenced-code syntax from the general Markdown renderer test.
literal <tag>
**not bold** and $not_math$
const message = `Markdown delimiters: ** _ ~~`;
console.log(message);
package main
import "fmt"
func main() {
fmt.Println("Hello, Markdown!")
}
set -euo pipefail
printf '%s\n' "hello"
{"string":"value","number":42,"boolean":true,"null":null,"array":[1,2,3]}
<article aria-label="Example">
<h1>Literal HTML source</h1>
</article>
# Literal heading
- **Literal bold list item**
- [Literal link](https://example.com)
\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}
token one two three
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
content surrounded by blank lines
Backticks shown as text: ` and ``.
Markdown: **bold** *italic* ~~strike~~ [link](https://example.com)
HTML: <strong>not rendered as HTML</strong>
Math: $x^2$ and \[y = mx + b\]
Escapes: \* \_ \# \[ \] \\ \`
+++
title = "TOML front matter example"
draft = true
tags = ["markdown", "test"]
+++
{
"title": "JSON front matter example",
"draft": true,
"tags": ["markdown", "test"]
}
const answer: number = 42;
Quoted code follows:
print("quoted code")
Footnote containing code.[^code]
[^code]: The block follows.
```text
fenced code nested in a footnote
```
.card { display: grid; }
SELECT 42 AS answer;
enabled: true
items:
- one
- two
The final block checks escape characters without placing malformed fences after it.
\! \" \# \$ \% \& \' \( \) \* \+ \, \- \. \/ \: \; \< \= \>
\? \@ \[ \\ \] \^ \_ \` \{ \| \} \~