Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Markdown nested within tags #11

Closed as not planned
Closed as not planned
@jamesknelson

Description

@jamesknelson

You may have this and I just can't figure out how to do it, but...

Is it possible to nest markdown within a JSX tag?

Here's an example of how I use this within one of my articles, with MDXC:

import { Reference } from 'documentHelpers'

<Reference title='JS Reference'>
<markdown>
My explanation of `this` is a bit like high school chemistry; it's a nice idea but it may give an expert a heart attack.
<br /><br/>
If all you want to do is use React, it is probably good enough. But otherwise go read the details at [MDN](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/this).
</markdown>
</Reference>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions