hackmdio / hackmdio/hackmd-cli

Updating a note removes the title

Aberta
#89 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
176
Forks
13
Merge médio
1d 4h
PRs com merge (30d)
5

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
typescript
Domínio
cli
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
52/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.