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

LaTeX support in articles #97

Closed
2 tasks
martinbeentjes opened this issue Oct 5, 2017 · 10 comments · Fixed by #6237
Closed
2 tasks

LaTeX support in articles #97

martinbeentjes opened this issue Oct 5, 2017 · 10 comments · Fixed by #6237
Labels
area: publishing experience issues related to an authors experience publishing. Tags, series, etc. external contributors welcome contribution is welcome!

Comments

@martinbeentjes
Copy link

martinbeentjes commented Oct 5, 2017

Feature

User Story

As an author of an article I want to be able to mathematical typesetting using LaTeX so that readers can read the mathematical typesetting better.

Definition of Done

  • The author can add the LaTeX into the article
  • The reader sees the rendered LaTeX

Notes

  • I came upon this idea when I saw the article "Fun with secrets" by Paula.
  • I suggest using KaTeX to implement the rendering of the math text
@Zhao-Andy
Copy link
Contributor

Hey @martinbeentjes, thanks for the feedback. Definitely something we're interested in. We're going to make some overall improvements to the editor soon, and this will probably be on the list.

We're going to close the issue for now though since we're focused on open sourcing the repo.

@martinbeentjes
Copy link
Author

Thanks for the heads up! And good luck with open sourcing the repo!

maestromac pushed a commit that referenced this issue Aug 8, 2018
* Fix API pagination issue
@FRosner
Copy link

FRosner commented Aug 9, 2018

Now after the repo is open source, let's get to it! 🤣

I figured out that DEV uses the redcarpet Markdown parser. It seems that people already tried rendering LaTeX equations in redcarpet: vmg/redcarpet#559

To avoid unwanted interactions with the Markdown syntax, the recommendation seems to be to embed the equations into backticks which turns off Markdown rendering and then inside enclose everything into dollar signs to enable LaTeX.

I'd be happy to give it a shot unless it's already being worked on or not of interest. What do you think @Zhao-Andy?

@FRosner
Copy link

FRosner commented Aug 9, 2018

I'd like to see

  • layout of existing posts is not broken

as part of the DoD.

@maestromac maestromac reopened this Aug 9, 2018
@pkfrank
Copy link
Contributor

pkfrank commented Aug 14, 2018

Hey @FRosner — thanks for opening this back up. @benhalpern will chime in with a few additional notes shortly.

@jessleenyc jessleenyc assigned benhalpern and unassigned Zhao-Andy Aug 21, 2018
@stale
Copy link

stale bot commented Nov 19, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 7 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If this issue still requires attention, please respond with a comment. Happy Coding!

@stale stale bot added the stale label Nov 19, 2018
@stale stale bot closed this as completed Nov 26, 2018
@Tadaboody
Copy link

AFAIK this hasn't been implemented yet.
I think this is still applicable and would like it to be re-opened.

@maestromac maestromac reopened this Mar 13, 2019
@stale stale bot removed the stale label Mar 13, 2019
@jessleenyc jessleenyc assigned jessleenyc and unassigned benhalpern Mar 19, 2019
@gypsydave5
Copy link

gypsydave5 commented Apr 4, 2019

I would be interested in helping, as (I think) would @DrBearhands.

@FRosner
Copy link

FRosner commented Apr 4, 2019

I wanted to do it but when I had time dev.to was closed source. Now it's open source but I don't have time anymore :(

@maestromac maestromac added feature request area: publishing experience issues related to an authors experience publishing. Tags, series, etc. external contributors welcome contribution is welcome! labels Apr 4, 2019
@maestromac
Copy link
Contributor

Feel free to give it a whirl @gypsydave5 ! MarkdownParser.rb is where all the processing is situated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: publishing experience issues related to an authors experience publishing. Tags, series, etc. external contributors welcome contribution is welcome!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants