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

Why isn't mathInline triggered? #866

Closed
4 tasks done
punkpeye opened this issue Oct 21, 2024 · 2 comments
Closed
4 tasks done

Why isn't mathInline triggered? #866

punkpeye opened this issue Oct 21, 2024 · 2 comments
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on

Comments

@punkpeye
Copy link

punkpeye commented Oct 21, 2024

Initial checklist

Problem

I added import remarkMath from 'remark-math'; to my remark plugins.

I then added a custom component inlineMath: { console.log('Hello!'); }

I would expect inlineMath to be called when rendering math expression, but it isn't.

What am I missing?

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Oct 21, 2024
@wooorm
Copy link
Member

wooorm commented Oct 22, 2024

I do not know where you got the word inlineMath from. That doesn’t happen.
There’s no code that does what you expect.

Math (“inline” or “block”) uses <code> elements.

Keys in components are HTML tag names.

@wooorm wooorm closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2024
@wooorm wooorm added the 🙋 no/question This does not need any changes label Oct 22, 2024

This comment has been minimized.

@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants