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

Allow using multiple fonts on titles, headlines etc. #1444

Closed
3 tasks done
neteroster opened this issue Apr 1, 2020 · 4 comments
Closed
3 tasks done

Allow using multiple fonts on titles, headlines etc. #1444

neteroster opened this issue Apr 1, 2020 · 4 comments

Comments

@neteroster
Copy link

neteroster commented Apr 1, 2020

Issue Checklist

  • I am using the latest version of NexT.
  • I have read the relevant documents of Hexo and NexT.
  • I have reviewed the latest Roadmap on GitHub and searched for current issues, which does not help me.

Expected behavior

It seems I can now apply only one font family to title, headlines, posts, codes.

Both of the following ways don't work

  title:
    external: true
    family: Roboto Slab|Noto Serif SC
    size:
  title:
    external: true
    family: Roboto Slab, Noto Serif SC
    size:

I've viewed #1238 and it seems okay to specify multiple global fonts. I'm not sure if I made a mistake somewhere.

If it's indeed not supported now, I think it will be great if users can apply more than 1 font family. Especially for those who writes both Chinese and English often.

Actual behavior

  • Links to demo site with this feature: N/A
  • Links to repository or source code of the blog: N/A

Steps to reproduce the behavior

  1. N/A
  2. N/A
  3. N/A

Other Information

@welcome
Copy link

welcome bot commented Apr 1, 2020

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@leirock
Copy link
Contributor

leirock commented Apr 2, 2020

Yes! I also need this feature, so the Chinese and Latin characters can be set with different font-family properties.

@stevenjoezhang
Copy link
Contributor

stevenjoezhang commented Jul 23, 2020

@neteroster
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants