Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render custom components inside markdown content #62

Open
phaistonian opened this issue Mar 2, 2018 · 4 comments
Open

Render custom components inside markdown content #62

phaistonian opened this issue Mar 2, 2018 · 4 comments

Comments

@phaistonian
Copy link

Hello,

Is something like this doable?

- list item 
- list item 2
- list item containing <Custom>custom component</Custom>

When <Custom>custom component</Custom> is not inside the list it works fine, when it is, then the component is escaped.

Ideas?

@ChristophLabacher
Copy link

Unfortunately the same seems true, even when the custom component is just contained within a simple Markdown paragraph.

So even this does not work:

I need an <Custom>inline</Custom> component.

I too would love to know whether there is any way to get custom inline components to work?

@tscheiki
Copy link

+1

@xtrinch
Copy link

xtrinch commented Dec 6, 2019

I found that if you wrap all text with a custom component that just passes through the data, custom inline components work as intended.

@christianalfoni
Copy link
Collaborator

christianalfoni commented Dec 30, 2019

Yeah, this is just the behaviour of the parser. I think maybe even doing:

<div>I need a <Custom>inline</Custom> component</div>

Would work

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

No branches or pull requests

5 participants