Fixed typos, updated description of contents of style.css
This commit is contained in:
parent
a3839f61c8
commit
fadfde870a
|
@ -6,20 +6,23 @@ Based on this post in a QOwnNotes issue: https://github.com/pbek/QOwnNotes/issue
|
|||
## Files
|
||||
### style_loader.qml
|
||||
- Just two functions:
|
||||
- One to read the external file, one to included (replace) it in the hTML renderer.
|
||||
- You can also just type the CSS stuff into this file if you want.
|
||||
- One to read the external file,
|
||||
- One to include (replace) it in the HTML renderer.
|
||||
- _You can also just type the CSS stuff into this file if you want._
|
||||
|
||||
### style.css
|
||||
- Added a border around tables.
|
||||
- Added padding within table cells.
|
||||
- Added padding before and after tables.
|
||||
- Reduced indent on ordered and unordered lists.
|
||||
- Changed hyperlink to blue, and added an underline.
|
||||
- Increased the margin before and after a horizontal rule.
|
||||
|
||||
It's pretty fussy about which styles it will recognise, unfortunately! So couldn't collapse table borders, or use any tricks to make the cell borders dissapear.
|
||||
|
||||
## Installing
|
||||
- Keep these files in the same director if you don't want to edit the .QML
|
||||
- In my case I made a 'scripts' folder in with my notes.
|
||||
- _In my case I made a 'scripts' folder in with my notes._
|
||||
- In QOwnNotes go to Note > Settings > Scripting
|
||||
- Give it a name and point to the the directory your style_loader.qml is living in.
|
||||
- You might have to 'do something' in a file (make a new line or whatever) to get the changes to render.
|
||||
|
|
Loading…
Reference in New Issue