Skip to content

Bug: User scripts unavailable in compile steps list #335

Description

@hermai0n

Versions
Longform version: 2.1.0
Obsidian version: 1.12.7
OS [e.g. macOS, Windows, iOS, Android]: Linux (Ubuntu 24.04.4)
Theme: Obsidian Nord
Other plugins that you think might be relevant here: I only use Longform and Smart Typograhy

Describe the bug
When adding user-defined compile steps, they don't appear in the list of available steps.

To Reproduce
Steps to reproduce the behavior:
1 Create scripts folder at vault root
2 Paste user compile scripts as .js files
3 Set User script step folder to the folder created at step 1
4 Go to Longform pane, Compile tab
5 Click on Add Step : steps aren't available

Expected behavior
When saving .js files in scripts folder, I'd like to add them in compile workflow.

Screenshots

Image

Additional context

Several places for the scripts folder

I tried to put the scripts folder at the vault root, in the longform project folder (same level as the chapters folder) and in a random location : still no step available

Several user scripts

I tried with my own script, a script provided by obsidian-community, and remove-tasks.js by pdworkman : none of them shows up.

Other things

I restarted obsidian : still nothing.

Any help will be gladly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions