hackmdio / hackmdio/api-client

document creation options

Aperta
#2 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
19
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm using `codimd-cli import` to create a new document from Markdown. This is working on HackMD now (thanks!).

When importing, it looks like we need:

1. **The ability to specify which _team_ the document should be a member of.**

Right now, imported documents belong to the user. I cannot see how to import into a team.

1. **The ability to assign tags**

Regarding teams & organization, it appears the only way to organize documents _within a team_ is via tags. I think we can manage with tags for now; each Node.js working group could have its own tag. If something else is provided instead (e.g., folders), it's important that we _don't_ need to manage multiple logins or tokens.

1. **The ability to provide a custom slug (URL)**

We get a randomly-assigned URL after importing. This is a _nice-to-have_.

This stuff could also be part of an "editing" workflow, where we login, then import, then make another API call to move the document, assign tags, update the slug, etc.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.