You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
hi community, thanks for the great project.
We want to add all-contributors in react jsx file, however, because all-contributors uses the HTML <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> to mark the beginning, <!-- is considered invalid in JSX.
Is there any other good solution?
The text was updated successfully, but these errors were encountered:
One solution is to use a JavaScript comment instead of an HTML comment. You could use something like:
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
This way, JSX won't throw any errors, and you can still mark the beginning of your all-contributors section. Give it a try and see if it works for you! If you have any more questions, feel free to ask.
Is your feature request related to a problem? Please describe.
hi community, thanks for the great project.
We want to add
all-contributors
in react jsx file, however, becauseall-contributors
uses the HTML<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
to mark the beginning,<!--
is considered invalid in JSX.Is there any other good solution?
The text was updated successfully, but these errors were encountered: