hackmd-cli icon indicating copy to clipboard operation
hackmd-cli copied to clipboard

Updating a note removes the title

Open arvidj opened this issue 2 years ago • 0 comments

When I use hackmd-cli notes update --noteId="XYZ" --content="New content" to set the contents of a note, the title of the note is removed. Trying to include the title of the note in the content, e.g.

hackmd-cli notes update --noteId="XYZ" --content="# My title\nNew content"

does not solve the issue: instead, the # My title part is included in the content of the note and the title is still empty.

arvidj avatar Jul 19 '23 10:07 arvidj