You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add some style to my document, then I input this to the index.html.
<head><!--The above is omitted--><linkrel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"><styletype="text/css">p{text-indent:2em;}</style>
But it didn't make text indent.
What's the matter? Why?
I can't understand.
Bug does still occur when all/other plugins are disabled?
Your OS: Windows 11
Node.js version: ?
npm/yarn version: ?
Browser version: MS Edge Current
Docsify version: Current
Docsify plugins: None
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
But I want to let the /zh-cn/ become a child folder, not main folder, the main folder is en-us. Hmm, has this caused by "fallbackLanguages", its value is: ["en","zh-cn"] .
you should add it to /index.html and handle the style according to the language.
It doesn't give attention to the /zh-cn/index.html, sure?
How to do this? Add the "fallbackLanguages": ["en","zh-cn"]? Or, what code should I add?
Or use below?
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
<styletype="text/css>/* But this is not very good, because when I use below: *//*<p class="zh-cn">**内容**</p>*//* It won't render the markdown text. */
p .zh-cn{text-indent:2em;}</style>
Activity
sy-records commentedon Mar 31, 2022
I can't reproduce the problem you mentioned.
ersrohu commentedon Mar 31, 2022
Oh... But here...
So I have to use the 2 full-width spaces ( ,  ) to make indent.
I think that it has produced by GitHub Pages, or because I'm in Chinese Mainland, then...
Wait, I've put the
index.htmlin thezh-cnfolder, has it caused by this?You can look at these file and check the problems below:
index.htmlsy-records commentedon Mar 31, 2022
You only added it in zh-cn/index.html, which is normal when using zh-cn as an entry.
ersrohu commentedon Mar 31, 2022
@sy-records Thank you very much!
ersrohu commentedon Apr 1, 2022
But I want to let the /zh-cn/ become a child folder, not main folder, the main folder is en-us. Hmm, has this caused by "fallbackLanguages", its value is:
["en","zh-cn"].sy-records commentedon Apr 1, 2022
you should add it to /index.html and handle the style according to the language.
ersrohu commentedon Apr 1, 2022
It doesn't give attention to the
/zh-cn/index.html, sure?How to do this? Add the
"fallbackLanguages": ["en","zh-cn"]? Or, what code should I add?Or use below?
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
So, what can I do?