panwriter
panwriter copied to clipboard
Customize editor theme/layout
I just found panwriter and I am in love ❤️
I would love it even more if I could control a bit more of the editor. When I go full screen I would like to have the text be right aligned and go full width. Although I know this is likely not going to be a universally wanted item.
current
better
best
I can manually get what I want by modifying css
.CodeMirror-lines {
margin: 0 auto;
max-width: 40em;
padding: 60px 50px 50px;
}
to
.CodeMirror-lines {
/* margin: 0 auto; */ /* makes it better */
/* max-width: 40em; best*/ /* makes it best */
padding: 60px 50px 50px;
}
but having this available as a setting would be great!
Adding some settings/preferences is on the TODO list... but I haven't really decided the details yet...
We could easily allow switching between different CodeMirror themes... but not sure we want to allow injecting arbitrary CSS. Or let's just say, if I would allow this, I wouldn't give any guarantees to users that a PanWriter update won't break their setup.