Outline v1.2.1
var(--joplin-background-color3)
thanks works great. also the linewrap option is great. is it possible though that the plugin remembers its position? I have it left below my notes and would prefer more space for the notes but it resets it to 50:50 every time.
anyway thank you a lot, it is one of the most important pougins for me! <3
Maybe some info about this in there?
I often use Bulleted List to make notes clearly,but the OUTLINE plugin can not recognize when there is a Bulleted List in the title,are there any good ways to solve this problem?
@cqroot I know feature requests are kind of annoying, but it would be great to be able to reduce the line height of the headings in the outline. As it is for me, the space between the items seems to be equal to the font size. It appears to be set as a margin on p.toc-item, but I have looked in the source code and can only find margin
once, and it's not for this class.
Hi, I use the numbered headers feature but similar to splerman, my numbers start from h2. However, in the outline, it starts from h1 which means they aren't consistent. Here's an example below. Is there any way to modify the outline plugin to start numbering from h2?
Very much appreciated, thank you!
Here is just an idea I came up, if you still have fun developing this plugin:
Highlight the current focused header in the outline, for example with bold font.
The current focused header is dependent on the scroll view of the markdown editor.
I love this plugin and rely on it! Sometime during the last few months (and I have tried but failed to determine exactly when) the css changed. The plugin now shows all the headers indented correctly but in a small font with minimal line spacing. I have experimented with both userchrome.css and the plugin's own css and I cannot seem to fix this.
So two questions:
- what elements should I target to change the display (I am assuming h1...h6 but is this right)?
- where should I put the css to affect the plugin?
Cheers.
I think you can use the setext-style headers ( ---
, ===
) instead for the first level
How can I fold or unfold the headers in the sidebar. Maybe a feature request?
When a note is long enough, it will have many headers in the outline sidebar. 1-6 levels of these headers will all be displayed in the sidebar, and this makes it difficult for me to choose the one(title) that I really need. So I wonders if I can make these headers to fold itself, for example to level one, and then unfolded one level by one level when I need, just like what the office word does.
Hey
The CSS needs to be added in the Plugins settings under Tools > Options > Outline > "Show Advanced Settings" > "User Style".
I changed the design according to the "Dark" Theme from Joplin, I will copy my Code for you, maybe it will help you.
You have to add the CSS in a oneliner, otherwise it will not work.
.outline-content {background:#2E3138; padding:5px 0;} .toc-item-link {height:30px; font-size:13px; display:flex !important; align-items:center; text-indent:-20px;} .toc-item-link > * {padding:0 0 0 12px;} .toc-item-link:hover {font-weight:normal; text-decoration:none; background:#4E4E4E; cursor:default;} a#header {color:#ffffff; height:30px; line-height:30px; padding:0 0 0 6px;} a#header::before {content:"\e917"; font-family:"icomoon" !important; font-size:18px; color:#ffffff; margin:0 8px 0 0; font-weight:300; top:3px; position:relative;}
Thank you Angel. That was just the starting point I needed to get what I wanted to work!
Absolutely fantastic plugin! I keep a few diaries with days as headings and also use joplin for meeting notes so this really helps me get around!
I do have one request: When you either hide the pane, or move to a note without headings and back, the pane forgets how wide it was before and defaults to taking up about 1/3 of the space, is it possible to make it remember and stay at that size when it comes back (or include an option to set a maximum width?)
Again, besides the one complaint, a fantastic plugin! Just a bit annoying to be repeatedly resizing...
A very very helpfull plugin - many thanks !
Like Imperial_Squid, I also would like, that the size of the pane would be saved.
Another suggestion: Folding subheadings would be nice, if the note and its toc with it are growing.
This is a very nice plugin, thank you !
Would it be possible to display the note title instead of "Outline" ? This would help to get the context in case the plugin is displayed below below the Notes list.
I am asking because I display the Outline panel below the notes list. When I want to quickly review some notes I look to the Outline panel only (my eyes focus on the screen bottom) and I don't see directly the note title. To know the Outline context I have to look up (top screen) to read the note title which is a bit tiring and doesn't feel effective.
@cqroot First, thanks for this plugin! It really helps.
I want to report a problem with this plugin. I placed it below the notebooks-sidebar, and now the notebooks-sidebar always restarts at the top, instead of staying in position, or scrolling back to where I clicked a notebook.
Also, one can't scroll any further down:
This plugin can make the search bar stop working. And I'm not sure the plugin is at fault or the way Joplin works. However, when I place another plugin at the same spot, I do not have this problem.
So the search doesn't search anymore when I type something in, it just keeps removing the word that I typed. And this only happens when I place this plugin underneath the search bar (same panel as the note list F11 key to toggle) .
To me it seems like the Outline plugin is forcing both panels to refresh and effectively erase any word in the search bar.
And again, it works fine, when the plugin isn't placed underneath the search bar. Which is a bummer, since its a spot that seems the right fit layout wise.
I just encountered this error after I clicked on an element on the sidebar.
The title contained cross-reference to another note, I think that caused it to crash.
Error
Joplin encountered a fatal error and could not continue.
To report the error, please copy the *entire content* of this page and post it on Joplin forum or GitHub.
If the error persists you may try to restart in safe mode, which will temporarily disable all plugins.
Message
Cannot read properties of undefined (reading 'removeEventListener')
Version info
Joplin for Desktop
Copyright © 2016-2023 Laurent Cozic
Joplin 2.10.19 (prod, win32)
Client ID: 4eb693987a764ec6b6ab43f2f991736b
Sync Version: 3
Profile Version: 42
Keychain Supported: Yes
Revision: 1100ab0
Automatic Backlinks to note: 3.0.3
CodeMirror Line Numbers: 2.0.0
Note Tabs: 1.4.0
Outline: 1.5.10
Plugins
[
{
"id": "com.shantanugoel.JoplinCMLineNumbersPlugin",
"name": "CodeMirror Line Numbers",
"enabled": false,
"version": "2.0.0"
},
{
"id": "joplin.plugin.ambrt.backlinksToNote",
"name": "Automatic Backlinks to note",
"enabled": true,
"version": "3.0.3"
},
{
"id": "outline",
"name": "Outline",
"enabled": true,
"version": "1.5.10"
},
{
"id": "joplin.plugin.note.tabs",
"name": "Note Tabs",
"enabled": true,
"version": "1.4.0"
}
]
Stack trace
TypeError: Cannot read properties of undefined (reading 'removeEventListener')
at D:\Program Files\Joplin\resources\app.asar\services\plugins\hooks\useSubmitHandler.js:33:38
at safelyCallDestroy (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:22932:5)
at commitHookEffectListUnmount (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:23100:11)
at commitPassiveUnmountInsideDeletedTreeOnFiber (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:25098:11)
at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:25048:5)
at commitPassiveUnmountEffects_begin (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:24956:11)
at commitPassiveUnmountEffects (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:24941:3)
at flushPassiveEffectsImpl (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:27038:3)
at flushPassiveEffects (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:26984:14)
at commitRootImpl (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:26935:5)
Component stack
at UserWebview (D:\Program Files\Joplin\resources\app.asar\services\plugins\UserWebview.js:42:28)
at div
at I (D:\Program Files\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:19344)
at div