Closed Maples7 closed 5 years ago
try this: han: false
@stevenjoezhang That helps! And it fixes other little bugs like wired italic words. I'll do that! Thank you!
@geekrainy seems bug with Han?
By the way, it seems that Han: //cdnjs.cloudflare.com/ajax/libs/Han/3.3.0/han.min.css
rather than han: //cdnjs.cloudflare.com/ajax/libs/Han/3.3.0/han.min.css
is the right way to load the vendor under configuration of vendors
.
Of course Han
is different from han
. Are u use lowercase han
?
I mean it's lowercase han
in doc: https://theme-next.org/docs/third-party-services/external-libraries/#Chinese-Typesetting, so maybe most users does not load it really to find this issue.
I found the loading error in page Console so changed han
to Han
and it helps.
Oh! Can u fix this in docs?
And add Attention about lowercase.
Yeah, I'll do that after confirmation.
Also, introducing this css lib causes the real issue mentioned above should be fixed.
@Maples7 how about use pangu instead of Han?
It seems pangu
works well.
I've turned on both of han
and pangu
as the _config.yml shows above, conflicts maybe?
Maybe...
I don't know, but i think what pangu
and han
have similar typo-functions, right?
@ivan-nginx
The use of pangu
is adding space
between Chinese character and non-Chinese character.
In comparison, han
is a framwork to fix Chinese typesetting on web.
@maple3142 That's right.
As I can see, pangu
as a JavaScript lib works in compile-time but han
as a CSS lib works in runtime, they should not conflict with each other in theory.
Anyway, there should be somebody who knows them well enough to confirm where bugs are as I'm not so familiar with front-end knowledge.
And i'm not so familiar with CN services... =(
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.
I agree and want to create new issue
Expected behavior
center reward comment:
Actual behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
Chrome & Safari, macOS