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

Update Text To Show Intent. #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

geyang
Copy link

@geyang geyang commented Mar 31, 2016

Intent:
math display="block" should be inline blocks like inline code block. Therefore they have to be treated so.

Please have a look and let me know what you think of this! if it look good to you I will submit a PR.

I'm thinking about making the block math follow the inline math and just take different delimiter.

Intent: 
math display="block" should be inline blocks like inline code block. Therefore they have to be treated so. 

Please have a look and let me know what you think of this! if it look good to you I will submit a PR.
@runarberg
Copy link
Owner

I don't like the idea of all blocks belonging to a paragraph. Sometimes you want to typeset block level math differently from paragraphs, really you ought too have the same freedom with <math display="block"> as you have with <figure>. However it would be nice if this was somehow configurable. Any ideas how are welcome.

@runarberg
Copy link
Owner

From the mathML spec:

Moreover, when the math element is embedded in a larger document, a block math element should be treated as a block element as appropriate for the document type (typically as a new vertical block), whereas an inline math element should be treated as inline (typically exactly as if it were a sequence of words in normal text). In particular, this applies to spacing and linebreaking

So maybe the current behavior is the "correct" one, and a display math should trigger a paragraph break. Either way, configuring this would be nice.

@runarberg runarberg closed this Apr 10, 2016
@runarberg runarberg reopened this Apr 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants