mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-23 18:53:36 +02:00
* Sets `useCustomCss` default to "true". Updates README.md for reference to Custom CSS. * Reverse changes to and . Correct the spacing in .
This commit is contained in:
parent
cdf6f9c436
commit
7bf394d8d5
@ -1202,7 +1202,7 @@ class NoteTextComponent extends React.Component {
|
||||
const previousTheme = Setting.value('theme');
|
||||
Setting.setValue('theme', Setting.THEME_LIGHT);
|
||||
this.lastSetHtml_ = '';
|
||||
await this.updateHtml(this.state.note.markup_language, tempBody, { useCustomCss: false });
|
||||
await this.updateHtml(this.state.note.markup_language, tempBody, { useCustomCss: true });
|
||||
this.forceUpdate();
|
||||
|
||||
const restoreSettings = async () => {
|
||||
|
@ -266,7 +266,7 @@ Joplin uses and renders a Github-flavoured Markdown with a few variations and ad
|
||||
|
||||
# Custom CSS
|
||||
|
||||
Rendered markdown can be customized by placing a userstyle file in the profile directory `~/.config/joplin-desktop/userstyle.css` (This path might be different on your device - check at the top of the Config screen for the exact path). This file supports standard CSS syntax. Joplin ***must*** be restarted for the new css to be applied, please ensure that Joplin is not closing to the tray, but is actually exiting. Note that this file is used only when display the notes, **not when printing or exporting to PDF**. This is because printing has a lot more restrictions (for example, printing white text over a black background is usually not wanted), so special rules are applied to make it look good when printing, and a userstyle.css would interfer with that.
|
||||
Rendered markdown can be customized by placing a userstyle file in the profile directory `~/.config/joplin-desktop/userstyle.css` (This path might be different on your device - check at the top of the Config screen for the exact path). This file supports standard CSS syntax. Joplin ***must*** be restarted for the new css to be applied, please ensure that Joplin is not closing to the tray, but is actually exiting. Note that this file is used for both displaying the notes and printing the notes. Be aware how the CSS may look printed (for example, printing white text over a black background is usually not wanted).
|
||||
|
||||
# Note templates
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user