Rishabh-malhotraa / caucus

Realtime Collaborate Editor with Embedded Compiler
https://caucus.rishabhmalhotra.in/
MIT License
295 stars 70 forks source link

Add support for CSES Problem URL #52

Open Rishabh-malhotraa opened 2 years ago

Rishabh-malhotraa commented 2 years ago

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

image

Files to be modified

Rishabh-malhotraa commented 2 years ago

Similar to #43

starkkumarkk1611 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

By mistake I removed the assignment.