Skip to content

Add Katex Equation rendering plugin to Markdown Editor #19988

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

Merged
merged 3 commits into from
May 13, 2025

Conversation

guerler
Copy link
Contributor

@guerler guerler commented Apr 10, 2025

This PR adds KaTeX support for rendering inline and block equations in the markdown editor. Moving forward, we intend to support inline rendering plugins across more Galaxy markdown components. This PR demonstrates that approach using the markdown-it plugin interface for KaTeX.

Insert in markdown section:
katex

Added new templates:
katex

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@guerler guerler added this to the 25.0 milestone Apr 10, 2025
@guerler guerler marked this pull request as ready for review April 11, 2025 20:36
@guerler guerler removed this from the 25.0 milestone May 6, 2025
@mvdbeek
Copy link
Member

mvdbeek commented May 6, 2025

Can you resolve the conflict ?

@guerler guerler requested a review from mvdbeek May 9, 2025 22:48
@guerler guerler added this to the 25.0 milestone May 9, 2025
@mvdbeek mvdbeek merged commit b3b67cf into galaxyproject:dev May 13, 2025
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants