You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I write latex, I'm used to using (....) for inline math. It's a low-importance quality-of-life change, but how hard would it be to add this notation into the franklinjl parsing?
I'd be happy to do the work myself for what it's worth.
Thanks!
The text was updated successfully, but these errors were encountered:
If you get Franklin off the branch pmath-i986 you can do the following:
julia>using Franklin
julia> Franklin.enable_pmath()
julia>fd2html(raw""" * old way $x=y$ * new way \(x=y\)""") |> println
<ul><li><p>old way \(x=y\)</p></li><li><p>new way \(x=y\)</p></li></ul>
julia> Franklin.disable_pmath()
julia>fd2html(raw""" * old way $x=y$ * new way \(x=y\)""") |> println
<ul><li><p>old way \(x=y\)</p></li><li><p>new way (x=y)</p></li></ul>
So you'd just call enable_pmath() before calling serve.
I likely won't put this into master though as I'm refraining from putting new stuff in Franklin lest it should break other things, the new stuff should ultimately all go in Xranklin (which is more or less done bar gaps in docs which I'm struggling to find time to fill).
I hope this will be somewhat helpful to you though
When I write latex, I'm used to using (....) for inline math. It's a low-importance quality-of-life change, but how hard would it be to add this notation into the franklinjl parsing?
I'd be happy to do the work myself for what it's worth.
Thanks!
The text was updated successfully, but these errors were encountered: