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

texコマンドを実装 #69

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

KikyoNanakusa
Copy link
Collaborator

@KikyoNanakusa KikyoNanakusa commented Oct 20, 2024

  • texを与えることで, 数式の画像を返信するコマンドを実装
  • ドキュメントを追加

@KikyoNanakusa KikyoNanakusa self-assigned this Oct 20, 2024
Comment on lines +74 to +78
if (svgMatch) {
return svgMatch[0];
} else {
throw new Error("Invalid SVG format");
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (svgMatch) {
return svgMatch[0];
} else {
throw new Error("Invalid SVG format");
}
if (!svgMatch) {
throw new Error("Invalid SVG format");
}
return svgMatch[0];

@KinjiKawaguchi KinjiKawaguchi changed the base branch from main to develop October 20, 2024 20:50
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.

2 participants