-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
feat: add footnotes prompt #131
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @Innei on Vercel. @Innei first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
return ( | ||
<Fragment key={state?.key}> | ||
<a | ||
href={`#fn:${content}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#fn
这种前缀太 magic 能不能封装一个函数。
<FloatPopover | ||
as="span" | ||
TriggerComponent={footnotes} | ||
type="popover" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type="popover" | |
type="tooltip" |
<p className="flex items-center space-x-1 opacity-80"> | ||
<span | ||
className="font-medium" | ||
dangerouslySetInnerHTML={{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不要 dangerouslySetInnerHTML
wrapperClassName="footnotes_text" | ||
> | ||
<div className="space-y-2 leading-relaxed"> | ||
<p className="flex items-center space-x-1 opacity-80"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好像不是很需要
Description
✨ feat: add footnotes prompt
Linked Issues
#84
Additional context
add footnotes prompt