-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
cjk compliant font family #357
Conversation
@why-not-try-calmer I tested with I think only a way is to use custmisation feature of social card (insiders' version) to insert font family for each language markdown file as I commented in the following issue. |
Okay, will do, thanks |
@JinIgarashi By the way do you have a link to the page hosting the badly rendered social card? |
@why-not-try-calmer I don't have it. But you can get link of social card from head tags in each html from developer tool of Chrome. Change any language code to ja/zh, you can get bad social code. |
Devtools hum... But in what circumstances is the regular user going to run into the issue? Sorry I am not super familiar with social cards but I am interested in the context in which this issue occurs. |
@why-not-try-calmer For example, when you paste a link of website to social media like twitter or Facebook, LinkedIn, etc, normally social card image and site name and description will be shown if appropriate meta tags exists in html head. this is important for readers to know what the link is without visiting website. Also, in terms of SEO, search engines like google can collect information from those metadata. If you want to advertise QField more through the internet, you should consider adding appropriate meta tags including social card. |
Thanks, I'll come up with something. |
Implemented suggestion from squidfunk/mkdocs-material#5704 (reply in thread). |
fd7e078
to
11fd636
Compare
d005e0f
to
fa71a1e
Compare
This produces: @JinIgarashi Ok for you? |
@why-not-try-calmer thanks, looks good. |
This needs to be tested. I don't have access to the Chinese or Japanese translations.
Depends on #369.