Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sub Bulleted list formatting when removing keyword option is set #1

Closed
hp6393 opened this issue Jun 19, 2024 · 11 comments
Closed

Sub Bulleted list formatting when removing keyword option is set #1

hp6393 opened this issue Jun 19, 2024 · 11 comments

Comments

@hp6393
Copy link

hp6393 commented Jun 19, 2024

Great plug-in! Just what I've been looking for to do simple qualitative coding.

I discovered a small bug tonight in v.1.1.3. When "Extract content at the bulleted list item level" is checked and "Remove extracted paragraph keyword with end tag" is checked, the plugin removes not only the keyword, but the indentation of the sub bulleted list. For example,

  • Example 2 #test2
    • Sub 1
    • Sub 2

Results in,

  • Example 2 - Sub 1 - Sub 2

Instead of,

  • Example 2
    • Sub 1
    • Sub 2
@djsudduth
Copy link
Owner

Thx for finding the issue. I'll take a look at it tomorrow. Seems it should be a simple fix.

@djsudduth
Copy link
Owner

@hp6393 I believe I have the fix completed. Doing some testing now. It might be good for you to manually install the fix first and verify. Let me know if you'd like to do that.

@hp6393
Copy link
Author

hp6393 commented Jun 19, 2024

I've never installed a plug-in manually, but I'm willing to try.

@djsudduth
Copy link
Owner

@hp6393 I have to upload the .jpl file to here and then you just download it and copy to the joplin-desktop/plugins directory. If you don't want to fiddle with that, I'll just continue testing for a day or two and update the version to 1.1.4

@hp6393
Copy link
Author

hp6393 commented Jun 19, 2024

Sounds easy enough. I'll try it.

@djsudduth
Copy link
Owner

djsudduth commented Jun 20, 2024

@hp6393 - ok, the fix is here:
https://github.com/djsudduth/joplin-plugin-paragraph-extractor/blob/main/io.github.djsudduth.paragraph-extractor.jpl

Download and copy this jpl file to your joplin-desktop/plugins directory. You might want to save a backup of the existing version in case this doesn't work. (The download raw file button is at the upper right of the github window showing the code.)

I added one additional thing - I was bothered by not having additional line feeds between extracted paragraphs from each page (adding an extra line feed only at the page level). It helps me see what chunks of paragraphs are part of the same source note. Let me know if this bothers you or you feel its useful. I suppose I could add an option in settings, or, just only add the line feed if the extracted note titles are selected in options.

@hp6393
Copy link
Author

hp6393 commented Jun 20, 2024

I downloaded the jpl file and replaced the existing jpl in the plugins directory with the new version. I restarted Joplin and the plugin disappeared from my plugin list and all menus. I then tried manually installing the jpl using the "from file" option. It would not install. I noticed that the new version is quite a bit larger than the 1.1.3 version. Otherwise, the file seems ok, but it does not work.

@djsudduth
Copy link
Owner

Hmmmm..ok. I'll update the version today.

@djsudduth
Copy link
Owner

@hp6393 the new version 1.1.4 was just published. The Update button should show up on Paragraph Extractor in Joplin plugins i about 1 hour from now. Let me know how it goes!

@hp6393
Copy link
Author

hp6393 commented Jun 20, 2024

I just updated without incident. I tested it on the text that I used the other day and everything worked as expected. The paragraph spacing looks nice.

Thanks for taking a look at this!

@djsudduth
Copy link
Owner

@hp6393 awesome! Thanks for checking it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants