-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
there bug in code react jsx #39
Comments
tags compile is wrong |
How is it linked to hexo-util? Are you sure you are posting on the right project? |
yes, i'm sure is right, and i find the tag split not right when my code with jsx of react, the part of html code match wrong. |
You can find the render wrong in https://www.pandashen.com/2018/09/10/20180910025959/ |
Could you point me to the source of your blog, especially if it is on GitHub? Otherwise, could you provide: |
theme is next package.json config.yml post import React from "react";
import ReactDOM from "react-dom";
let el = (
<div>
<h1>hello</h1>
<label htmlFor="username">username</label>
<input type="text" id="username"/>
</div>
);
ReactDOM.render(el, window.root); |
Many of the code blocks shown in the article are not normal, but there are no grammatical mistakes about react jsx and code blocks ···js ···jsx the post links: |
Hi, |
Thank you vary much! |
Looks like this issue has been forgotten. @shenqiuhui is this issue still relevant? How do create a post with react? It would be helpful if you can upload the whole (not rendered) folder to github (like this). you can set the repo to be private and grant read-only access to me or hexojs/core. Wouldn't next.js, gatsby or react-static be more relevant to your use case? |
It seems that his issue is related to |
I see, that's upstream One of the comments mentioned |
There is a discussion about it: hexojs/hexo#2720 |
There are some problems with the react jsx
The following code
The text was updated successfully, but these errors were encountered: