Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions other/md-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Here’s a paragraph with a **custom styled** span:
You can also style your JSX blocks with Tailwind classes:

```
<span class="text-blue font-bold">This text is red and bold.</span>
<span class="text-blue font-bold">This text is blue and bold.</span>
```

<span class="text-blue font-bold">This text is red and bold.</span>
<span class="text-blue font-bold">This text is blue and bold.</span>

🧠 Notes for Markdown:
- Inline HTML must use string style syntax (e.g. style="color: red;").
Expand Down
4 changes: 2 additions & 2 deletions other/mdx-file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Here’s a paragraph with a **custom styled** span:
You can also style your JSX blocks with Tailwind classes:

```
<span className="text-blue font-bold">This text is red and bold.</span>
<span className="text-blue font-bold">This text is blue and bold.</span>
```

<span className="text-blue font-bold">This text is red and bold.</span>
<span className="text-blue font-bold">This text is blue and bold.</span>

🧠 Note that in MDX:
- `style` values are JavaScript objects, not strings (use `{{ backgroundColor: 'red' }}`, not `"background-color: red"`).
Expand Down