-
Notifications
You must be signed in to change notification settings - Fork 182
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
Support inline <span> components in markdown #348
Comments
I will check, if I can get at least the non-inline variant to work. |
@nobkd I'm still checking but I think the |
I've created a new bug report for the |
I started working on this, but then remembered how complex and unfriendly Marked API is. Doing this later. I have a custom Markdown parser implementation forming in my mind |
Ended up doing a custom Markdown parser/renderer that is easier to work with than Marked. Likely faster too. It's a bit of a work, but there are so many benefits to do this in-house (beyond the NIH syndrome) that will benefit Nue in the long run. |
This comment was marked as outdated.
This comment was marked as outdated.
Should work with Though I'm not sure, if |
Is your feature request or improvement related to a problem?
I wanted to create a
pill
component as follows; somewhat psuedoI also tried
and was unable to use it in markdown;
Both options gives me runtime error in chrome console
mount.js:18 Uncaught (in promise) TypeError: Failed to resolve module specifier '' at importAll (mount.js:18:21) at mountAll (mount.js:26:30) at patch (hotreload.js:53:9) at async sse.onmessage (hotreload.js:84:7)
The documentation does not explain how to create a component. There are some vague notes on constructors. But no worked examples.
Solution you'd like
update: it's possible there is a different bug causing the "failed to resolve module specifier" which might mean the current docs are sufficient. (I can't tell while I'm getting this error since I dont know what I dont know.)
<span>
components for items like "pills". (css styled rounded end tags)The text was updated successfully, but these errors were encountered: