ProseMirror / prosemirror

The ProseMirror WYSIWYM editor
http://prosemirror.net/
MIT License
7.75k stars 336 forks source link

LaTeX and Table Support #18

Closed Immortalin closed 8 years ago

Immortalin commented 9 years ago

It would be really great if prosemirror can be used to edit scientific documents a la overleaf.

marijnh commented 9 years ago

Table support is planned, and you could define a LaTeX output format if you are so inclined.

ForbesLindesay commented 9 years ago

It would be great to have some kind of equation editor. I would imagine that would be something to implement as a plugin though.

RoyiAvital commented 9 years ago

Math is a must :-).

Something like Madoko would be amazing.

aeneasr commented 9 years ago

I believe what @Immortalin was getting at is not LaTeX as an output format but rather inline math formulas. However, I belive this to be possible by adjusting the dino demo with something like <p><span contenteditable="false">$3>1$</span></p> as inline formula editing is a completely different scope.

Immortalin commented 9 years ago

@arekkas that's exactly what I meant

Immortalin commented 9 years ago

@marijnh see this: https://github.com/asselinpaul/medium-editor-handsontable/blob/master/README.md

ericandrewlewis commented 8 years ago

@pboysen has implemented an inline math node type which is a wrapper around MathJax, see his demo. I'm not sure if it supports all of LaTeX, as I'm not too familiar with that standard.

pboysen commented 8 years ago

I have found equations that didn't work but my assumption is that it is a MathJax problem.

RoyiAvital commented 8 years ago

@pboysen, Could you please share those equations?
Could you check them on StackEdit?

Thank You.

pboysen commented 8 years ago

Sorry, I don't remember the equations. I was pulling them from examples on MathJax and other web sources.

aeneasr commented 8 years ago

By the way, nice example. Looks posh. So looking forward to use PM for my projects.

RoyiAvital commented 8 years ago

MathJax even supports \begin{align} environment, so it should be pretty good.

elsaulio commented 3 years ago

https://benrbray.com/prosemirror-math/