The command syntax has changed
This is not markam. Markam would try to figure out that you wanted to add a url to the database by looking for either `http://' or `https://' at the start of the first argument, but CLark uses the `add' command so there should be no confusion.
This commit is contained in:
parent
13d9dab58e
commit
ea6b06beec
1 changed files with 1 additions and 1 deletions
2
clark.js
2
clark.js
|
@ -49,7 +49,7 @@ function clark_add_url(I, url, title)
|
||||||
let tags = yield I.minibuffer.read(
|
let tags = yield I.minibuffer.read(
|
||||||
$prompt="tags (comma delimited): "
|
$prompt="tags (comma delimited): "
|
||||||
);
|
);
|
||||||
let command = clark_program + ' "' + url_string + '" "' + title
|
let command = clark_program + ' add "' + url_string + '" "' + title
|
||||||
+ '" "' + description + '" \''
|
+ '" "' + description + '" \''
|
||||||
+ tags.split(',').map(function (str)
|
+ tags.split(',').map(function (str)
|
||||||
{ return str.trim(); }).join("' '")
|
{ return str.trim(); }).join("' '")
|
||||||
|
|
Loading…
Reference in a new issue