Skip to content

feat: add math formula (LaTeX) and table comparison support (#158)#266

Open
harika880 wants to merge 1 commit into
HarshYadav152:mainfrom
harika880:feature/math-formula-table-support
Open

feat: add math formula (LaTeX) and table comparison support (#158)#266
harika880 wants to merge 1 commit into
HarshYadav152:mainfrom
harika880:feature/math-formula-table-support

Conversation

@harika880
Copy link
Copy Markdown

Changes Made

✅ Math Formula Support (LaTeX)

  • Integrated @tiptap/extension-mathematics with KaTeX
  • Users can now write $$E = mc^2$$ and it renders as a beautiful math formula

✅ Table Comparison Support

  • Integrated @tiptap/extension-table extensions
  • Users can now create structured comparison tables in their notes

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Tested math formula rendering using $$E = mc^2$$ in the note editor
  • Tested table rendering using markdown table syntax in the note editor
  • Both features render correctly in the browser

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

Screenshots

Screenshot 2026-05-24 234142 Screenshot 2026-05-24 234111

Closes #158

@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

@harika880 is attempting to deploy a commit to the Harsh Yadav's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Thank you @harika880 for your first PR to SaveBook!

We really appreciate your contribution 🙌

What happens next:

  • 🔍 Maintainers will review your PR
  • 🧪 Automated checks will run
  • ✨ Feedback may be shared if needed

Please confirm your PR includes:

  • ✔️ Clear summary of changes
  • ✔️ Linked issue (e.g., Fixes #123)
  • ✔️ Steps to test
  • ✔️ Screenshots (for UI changes)

📘 Contribution Standards:
👉 https://github.com/HarshYadav152/SaveBook/blob/main/CONTRIBUTING.md


💬 Stay Connected with Our Community

🎯 Discord (Official Communication)
For formal discussions, code reviews, and project updates:
👉 https://discord.gg/bZ47fac2jn

💚 WhatsApp (Friendly Community)
For informal chats, quick help, and building friendships with contributors:
👉 https://chat.whatsapp.com/I8GYXd3mHlDCC2iXhNGeqV

🌟 Our Philosophy: We value both professional collaboration (Discord) and personal connections (WhatsApp). Join both to get the complete SaveBook community experience!


Thanks for helping improve SaveBook 🚀
Let's build something amazing together! 💪

Copy link
Copy Markdown
Owner

@HarshYadav152 HarshYadav152 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harika880 Do these changes .

  1. Add a math view view switcher like one used for markdown preview so user can preview maths formulas.

Keep you branch updated with main.

@harika880
Copy link
Copy Markdown
Author

Hi @HarshYadav152 ,

Thanks for the review! I'll add the math view/preview switcher and sync my branch with main.

Will push the updates soon!

@harika880
Copy link
Copy Markdown
Author

Hi @HarshYadav152 , I have added the math preview switcher similar to markdown preview and synced the branch with main. Please review!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 [Feature Request] - Add math formula support and tables comparison

2 participants