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

Add support for CSES Problem URL #52

Open
Rishabh-malhotraa opened this issue Oct 5, 2021 · 4 comments
Open

Add support for CSES Problem URL #52

Rishabh-malhotraa opened this issue Oct 5, 2021 · 4 comments

Comments

@Rishabh-malhotraa
Copy link
Owner

Rishabh-malhotraa commented Oct 5, 2021

Requirement

Currently, Caucus only supports codeforces and atcoder links, but it would be great to add support for CSES links.
example https://cses.fi/problemset/task/1068

  • Changes need to be made in the caucus server to add the functionality to scrape the CSES question from the get response.
    Also, some UI changes in the front-end, to tell the user that we support CSES links.

image

Files to be modified

@Rishabh-malhotraa
Copy link
Owner Author

Similar to #43

@starkkumarkk1611
Copy link

@Rishabh-malhotraa Sir,
I have almost done both server-side and client-side
Just there is one Issue --
CSES problems contain some MathJax text. I need to add scripts to react but I tried and googled it and checked StackOverflow but I am not able to fix it please guide me - how to enable MathJax text to react., after fixing it I will make a pull request.
one more thing sir my most effort went for server-side, but there is no hacktoberfest tag sir, or any issue in the server repo, please add sir so It can also help me.

Thanks sir for giving me chance I would like to work on more Issue

@Rishabh-malhotraa
Copy link
Owner Author

Rishabh-malhotraa commented Oct 6, 2021

Check this file out

The Math.Jax will be rendered automatically by Katex provided that the math expression is enclosed in the delimiter.

Example: $$\sum{a_i} = K$$ would be rendered as the following automatically, the delimiter here is $$
image

@starkkumarkk1611
Copy link

By mistake I removed the assignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants