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

Adding to theme wrote in jsx #9

Open
newusername2022 opened this issue Jun 11, 2020 · 2 comments
Open

Adding to theme wrote in jsx #9

newusername2022 opened this issue Jun 11, 2020 · 2 comments

Comments

@newusername2022
Copy link

Hello
My theme is wrote in React js. Is there anyway that I can modify step 3 into .jsx? Any help would be appreciated!

Here's my theme's folder:
https://github.com/ppoffice/hexo-theme-icarus

@Karobben
Copy link

I have the same problem as you. Have you found a solution?

@Karobben
Copy link

Hello
My theme is wrote in React js. Is there anyway that I can modify step 3 into .jsx? Any help would be appreciated!

Here's my theme's folder:
https://github.com/ppoffice/hexo-theme-icarus

An alternative way is adding
<script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script>
in the tag Fragment in layout/common/scripts.jsx after you installed this plugin.

But it's not perfect since it can't show all letters when the word is long.

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

No branches or pull requests

2 participants