Updating a note removes the title
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by tracing the notes update command in the TypeScript CLI and follow how its content is sent and the note title is handled. Reproduce the command shown in the issue, then verify that updating content preserves the existing title while replacing the note content.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 176
- Forks
- 13
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hackmdio/hackmd-cli
-
Config command Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hackmdio/hackmd-cli#45 · 2 comments ·
-
login problem Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hackmdio/hackmd-cli#108 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
hackmdio/hackmd-cli#105 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
hackmdio/hackmd-cli#87 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
hackmdio/hackmd-cli#86 · 4 comments · 1 reaction ·
All issues in hackmdio/hackmd-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·