A markdown outline sidebar plugin for Joplin

Sorry to reply everyone so late.

I was busy with my work some time ago, which resulted in slow update of open source projects. Recently, I will take a good look at the content of your feedback and fix them one by one.

In addition, if you want to get better access to the repair progress, it is recommended to put forward your suggestions in the github issues. Messages on the joplin forums I may not pay attention to in time.

2 Likes

Thank you.

I maybe have one feature request, but I guess it's quite big, so I don't just want to go and open an issue about it: I'd really like to have a possibility to "edit" the outline, so I could rearrange sections.

As in, move one item in the Outline to a different place in the Outline; and the plugin would take that heading, along with all the MD contents up until the next heading, and move the entire section.

This would make it a lot easier to rearrange documents when improving them, by quickly swapping chapters.

4 Likes

There is a similar issue here. I'm not sure when it will be implemented, but I will think about how to implement it.

2 Likes

Hi, I'd like to report an issue. In the new release, 2.13.11, the plugin stopped working. I run Joplin as an appimage on Manjaro Linux, and have just upgraded.
The sidebar TOC comes up fine, and there are links, but clicking on them does nothing.
Troubleshooting:

  1. Disabled and re-enabled the plugin. No change.
  2. Tried with multiple different pages. No luck.
  3. Removed and reinstalled. No luck there, either.

This is an excellent and very useful plugin. Please let me know if I can do anything to help with this problem.

Update: Just upgraded to 2.13.12. Same problem.

If you're using the mobile app (≥v3.0.0) and would like to use the plugin (with scroll-support to headings in the editor), here is a fork release of the outline plugin that you may download and install (Configuration -> Plugins -> Advanced settings -> Install from file). This release also works with the beta editor in the desktop client.

EDIT: updated fork release.

2 Likes

Good improvement, thanks :+1:

Here it works on Desktop for both the rendered and the markdown view using the beta editor CodeMirror 6:

Joplin 3.0.13 (prod, linux)

And on Android it works for the markdown view, but not the rendered view:

Joplin 3.0.7 (prod, android)

1 Like

Thanks @johano, I had the same issue on mobile. Seems like the plugin depended on variables that behave a little differently on mobile. I think that I have a workaround / fix for that. Updated the fork.

4 Likes

Thanks for the quick fix, @shikuz. Confirmed working now, and it's so useful navigating long notes on the Android app. Bravo!

Hi,

Thank you for the fork which allows me to have Outline functional with the new default editor (beta) of desktop version 3.1.1 :slight_smile:

I installed the file manually over the old original 1.5.13.
After installing the fork, it is always the same version indicated in the modules and Joplin always gives me the message that Outline is incompatible, but it works.

Should I have uninstalled the original plugin before installing the Fork or is it all good?

Good question what triggers the warning message of incompatibility. I also get the same message. @personalizedrefriger will probably know if it's enough to increment the version number (in that case, I can do it and update the fork).

1 Like

This is a very practical plugin! Thank you!

Currently, the incompatibility warning is based on a hardcoded list of plugin IDs.

To handle the case where plugins are updated to support CodeMirror 6, I think it would make sense to allow overriding this with a manifest property (e.g. "supportsCodeMirror6": true).

Since there are very few plugins in that list, maybe we can manually remove them from the list ourselves when they becomes compatible?

Hi,

I just tested Joplin's new multi-window feature and noticed that Outline is not displayed on these separate windows, but only on the main window. Is there anything to do?

Thanks :slight_smile:

1 Like

I really like this plugin and use it all the time. Thank you for making it.

One thing that bothers me is that when I open the sidebar, it takes up half of the width of my screen. Then I have to drag the left border with the mouse to make it skinnier.

I note in the advanced settings, it allows me to specify a .css file at ~/.config/joplin-desktop/outline.css. Right now there is no file at that path. I know nothing about css, but is there something I can put there to control the overall width of the outline sidebar without having to adjust with the mouse each time?

1 Like

Hm, the 'change application layout' doesn't work for you? It seems to be working fine for me, and remembers the panes' positions

Like zblesk said just before me the "change application layout" is usually the solution (with other panels from other plugin; not tested on outline plugin).
For me it was with the "Favorites" plugin the the layout was the solution:
"Plugin Favorites : a button or a shortcut in order to toggle the column? - #4 by Steph"

I think they are referring to the behavior described in this bug (which impacts all panel plugins, not just this one): Panel width for plugins do not persist · Issue #5634 · laurent22/joplin · GitHub

resizing the panel in change layout does work... until you click the button to hide/show the panel, at which point it's immediately reset

I really like this plugin, thank you for developing it.
However, a recent update broke the right-click to copy link feature.
This is one of the function I use most in Joplin :frowning: