Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document creation options #2

Open
boneskull opened this issue Apr 28, 2020 · 2 comments
Open

document creation options #2

boneskull opened this issue Apr 28, 2020 · 2 comments

Comments

@boneskull
Copy link

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.

  2. 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.

  3. 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.

@boneskull
Copy link
Author

cross-reference: nodejs/create-node-meeting-artifacts#92

@Yukaii
Copy link
Member

Yukaii commented May 27, 2020

Hi @boneskull

You can now specify the team path when creating a note with [email protected] or API client v1.1.1.

And for assigning tag you can try theses syntaxes:

In YAML

---
tags: tag1,tag2
---

In heading 6:

###### tags: `tag1` `tag2`

HackMD will parse these syntaxes as tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants