Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom Components in Local Preview #400

Unanswered
pvande asked this question in Q&A
Discussion options

I've tried implementing a variety of simple MDX components for viewing in the local preview, but have thus far received invalid responses back from the server for all but the very simplest components (edit: this appears as though it may be my syntax errors, rather than anything more deep-rooted). This causes the session to return to a disabled initial state, and leaves me no more enlightened.

Are custom components expected to be so finicky? Should they work in the Local Preview mode? Can we get any clearer messaging about the cause of rendering failures?


On a different, but related note, performing the MDX rendering client-side seems like it would make some things simpler, from shared components to rendering failure diagnostics. I'm sure it's not a panacea, and that things are more complicated than that, but don't actually know why. Is there a reference to prior discussions that I haven't been able to find?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /