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

Wrap markdown in arbitrary HTML #19

Closed
billcolumbia opened this issue Oct 10, 2018 · 2 comments
Closed

Wrap markdown in arbitrary HTML #19

billcolumbia opened this issue Oct 10, 2018 · 2 comments

Comments

@billcolumbia
Copy link

billcolumbia commented Oct 10, 2018

Trying to do something like this:

<div class="taco">

# Hello

</div>

... which ends up rendering like:

<div class="taco"></div>
<h1>Hello</h1>

... but I expected:

<div class="taco">
    <h1>Hello</h1>
</div>

For my typical markdown files that get parsed by remark, it does work. So I'm just trying to figure out why it wouldn't work in mdx. I searched through issues here and found #15, which seemed like it might be related?

@billcolumbia
Copy link
Author

Might also be related to #11

@billcolumbia
Copy link
Author

Just found mdx-js/mdx#241 - Will close I suppose. Bummer, sorry about that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant