When writing in the Typora, the viewable width (editor width) is limited.
How could I enlarge from A to B?
When writing in the Typora, the viewable width (editor width) is limited. How could I enlarge from A to B? Show activity on this post. You can change CSS file of the theme you are using. Go to File > Preference or press Ctrl+Comma.
In CSS file go to #write (write id). Here change the value of max-width. Default value of max-width in this theme is 860px. You can increase this to whatever you want. For example: In some themes, you may also find max-width in em instead of px.
In Typora, you can write or edit the markdown text to add or modify tables. We also provides menu entry, context menu, shortcut keys, drag & move, tooltips to make table editing easier to use under related GUI. To create a table in Typora, you can simply write out a table header in markdown. Or, you can also insert table from the menu bar.
The width of the page within the editing window is always not exceeding 700px. In other words, while example shown above doest not work, if i set the max-width to 100px, the page width will become 100px. I want to know what can I do to get a wider page width? (I prefer to not change the font-size, by the way). 3 Likes
You can change CSS file of the theme you are using. Go to File > Preference
or press Ctrl+Comma
. In Themes
click Open Theme Folder
.
Open the CSS file of your theme. For example I'm using Github theme.
So I'm opening github.css
file. In CSS file go to #write
(write id). Here change the value of max-width
.
Default value of max-width
in this theme is 860px. You can increase this to whatever you want. For example:
max-width: 1200px;
In some themes, you may also find max-width
in em
instead of px
. For example:
max-width: 40em;
Increase this value to whatever width you prefer.
In case you want the editor to be of full width, remove this max-width
property entirely.
For the record, you can edit the file as follow.
Look at the folders where is the CSS (as indicated by itsmysterybox)
Find the .css file and copy it with a new file. For example github2.css
Also, copy the folder related with the .css that you copied and rename it with the same name, for example, github2\
Find the next lines:
@media only screen and (min-width: 1400px) { #write { max-width: 1024px; } }
@media only screen and (min-width: 1800px) { #write { max-width: 1200px; } }
And delete it.
Find the next line
#write {
max-width: 860px;
margin: 0 auto;
padding: 30px;
padding-bottom: 100px;
}
And edit the line max-width: 860px; to max-width: 95%;
We are giving it some space for the scroll bar. However, and apparently, 100% also works and it doesn't break any visualization.
Because updates of the program could (and most likely will) replace it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With