Open iblueer opened 6 years ago
It is possible. But code fences and math can not support this perfectly
How-to:
Follow http://support.typora.io/Add-Custom-CSS/
And add custom css:
#write {
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
}
Thank you for teaching me.
But one more question:
I found that before the first sentence, there is a stable space like this. How should I delete it?
And I found that quotation marks I deleted still show on screen.
This must be kind of bug, right?
I found that before the first sentence, there is a stable space like this. How should I delete it?
There should be other modification for supporting vertical writing mode.
#write > p:first-child, #write > ul:first-child, #write > ol:first-child, #write > pre:first-child, #write > blockquote:first-child, #write > div:first-child, #write > table:first-child {
margin-top: 0;
}
And I found that quotation marks I deleted still show on screen.
What's your IME?
Thank you for teaching me.
It is macOS default Japanese IME.
Sorry, I've to edit the question description.
And I found that quotation marks I deleted still show on screen.
In fact I found everything I deleted still show on screen, not only the marks, but also the characters.
And one more question, please:
The direction keys are not adapted for vertical mode. For example, I want to move the cursor up⬆️, but I press the UP
key, the cursor moves to the right➡️ side.
I see, so vertical writing is not officially supported by Typora yet. We will keep this open before we support editing in vertical order.
Cursor movements might need to be remapped in vertical writing mode. That aside, when texts overflow the left side of the window, they are hidden and not reachable by default. One needs to enable horizontal scrolling to make it work:
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
text-orientation: mixed;
overflow-x: auto; /* This enables horizontal scrolling */
希望可以在typora上体验到传统文化的魅力。 I hope people can experience the charming point of traditional East Asian Culture.
Just like--this.