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

mystmd does not render text/html MIME-type for inline {eval} role #1827

Open
bryanwweber opened this issue Jan 28, 2025 · 0 comments
Open

mystmd does not render text/html MIME-type for inline {eval} role #1827

bryanwweber opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@bryanwweber
Copy link
Contributor

Description

mystmd doesn't render the text/html MIME-type if it is present when the {eval} role is used. I produced an explainer/reproducer repository over here: https://github.com/bryanwweber/mystmd-mime-ignored-repro This is a significant (IMO) difference from the {glue:} role developed for JB1 and I really miss being able to style content when inserting it inline.

Proposed solution

@agoose77 suggested that the fix belonged in myst-theme on Discord:

I suspect the bug is that we always prefer AST children over the mime bundle (IE it's in myst theme). This is something we'll be fixing soon anyway with output parsing.

Additional notes

@rowanc1 suggested I create this issue on Discord 😄

@bryanwweber bryanwweber added the bug Something isn't working label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant