joplin-plugin-slash-commands
joplin-plugin-slash-commands copied to clipboard
Plugin is not working properly for me
Hi, I'm busy trying out your plugin and it does not seem to be working properly for me.
When I try any of your built-in commands, most of them just do nothing, these are the ones that don't work:
/greet
/todotxt
/date
/time
/todoa
/todob
/todoc
/todoe
/date@mon-1
/calendar
/calendar-3
/calendar-1-2022
These are the ones that do work
/task
/now
Please let me know how I can troubleshoot what the problem might be.
I've not modified any of the config at all.
[ ["datetime", "now", [ "dd/mm/yyyy HH:MM", "yyyy-mm-dd\"T\"HH:MM:ss" ] ], ["datetime", "date", [ "dd/mm/yyyy", "yyyy-mm-dd" ] ], ["datetime", "time", [ "HH:MM", "HH:MM:ss" ] ], ["datetime", "jdate", [ "yyyy年mm月dd日(ddd)"], { "dayNames": ["日", "月", "火", "水", "木", "金", "土", "日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"]}], ["string", "greet", [ "Hello", "你好", "Bonjour", "Hallo", "नमस्ते", "こんにちは", "안녕하세요", "Hola", "Xin chào" ] ], ["string", "task", [ "- [ ] " ] ], ["string", "todotxt", [ "```todotxt sort:default\n\n```" ] ], ["datetime", "todoa", [ "\"(A)\" yyyy-mm-dd " ] ], ["datetime", "todob", [ "\"(B)\" yyyy-mm-dd " ] ], ["datetime", "todoc", [ "\"(C)\" yyyy-mm-dd " ] ], ["datetime", "todod", [ "\"(D)\" yyyy-mm-dd " ] ], ["datetime", "todoe", [ "\"(E)\" yyyy-mm-dd " ] ], ["calendar", "calendar", [null,"en-US","ja-JP"]] ]
Joplin about info
Joplin 2.14.17 (prod, win32)
Client ID: <redacted>
Sync Version: 3
Profile Version: 46
Keychain Supported: Yes
Revision: 094175c
Admonition markdown extension: 1.1.0
Automate Notes: 1.0.2
Backup: 1.4.0
Draw.io: 2.2.0
Enhancement: 1.2.1
Markdown Table: Sortable: 1.2.2
MultiMarkdown Table Tools: 1.1.0
Quick Links: 1.3.1
Slash Commands: Datetime & More: 1.3.2
It is odd that some work and some don’t. Did you type these commands yourself or copy paste/autocomplete. You need to type (every characters) it for it to activate, don’t autocomplete or copy it since this plugin hasn’t supported that yet.
Yeah it is odd indeed, I typed it out, I read that in another issue so I’m aware of having to fully type things out for it to work
I’ve just tested disabling another plugin (Enhancement) and now the commands seem to be working so there’s a conflict between the plugins somehow
You're right, the Enhancement plugin straight up used the same command so it overwrote this one.
Unfortunately, in that case there is nothing I can do
Gosh, that is unfortunate, I use Enhancement quite a lot and was hoping to make use of your plugin... seems powerful especially with the customization.
Would it still work for me if I change the config?
Is it possible to inject JS functions?
I really like the /calendar
command and am wondering if I could just remap it to /drawcal
, is this something I can do or maybe a change you could implement?