Opened 10 years ago

Last modified 10 years ago

#11595 confirmed New Feature

Add support for MathJax block equations

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3 Beta
Keywords: Cc:


Extracted from #11298

Currently MathJax supports only inline equations. It would be nice if block equations were supported as well.

Additionally plugins should detect what sort of equation it is dealing (probably based on brackets used).

Change History (6)

comment:1 Changed 10 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 10 years ago by Piotrek Koszuliński

Status: confirmedpending

What's the difference between inline and block equations? What's wrong with inline equation inside <p> if it is its only child?

comment:3 Changed 10 years ago by Piotr Jasiun

It would be nice to have support for MathJax block equations. In the first version we wanted to keep this plugin simple and widget which can be inline or block is not that simple so we decided to drop block support at the begging.

MathJax behave differently in inline and block. In inline it try to keep everything as small as the line is, so if you put very complex equation in inline mode it will be very small. Block equation behave differently. It can take as much space as it needs to create big and beauty equation. It would be good to support both.

comment:4 Changed 10 years ago by Piotrek Koszuliński

Status: pendingconfirmed

OK, so it makes sense.

comment:5 Changed 10 years ago by Marcus

In need of this as well, I've created a pull request for this. Not sure if that goes in line with you're aiming for on the plugin.

comment:6 Changed 10 years ago by Piotr Jasiun

I made a review and added a comment on Github.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy