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

added credential id key for certificates #20

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

0x42697262
Copy link

Allows the user to have an optional credential id right side of the certificate name.

I added this right after #cert.name

#h(1fr)ID: #cert.id

image

I would have used the word "Credential ID" but some ids are 40 characters long thus I used "ID" instead.

Allows the user to have an optional credential id right side of the
certificate name.

I added this right after `#cert.name`

```typ
#h(1fr)ID: #cert.id
```
@jskherman
Copy link
Owner

Hi! Thank you for the pull request. Let me get back to you once I review it.

cv.typ Outdated Show resolved Hide resolved
Copy link
Owner

@jskherman jskherman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it also be possible for you to add the accompanying JSON schema for the ID field in the cv.typ.schema.json file?

Co-authored-by: Je Sian Keith Herman <68434444+jskherman@users.noreply.github.com>
@0x42697262
Copy link
Author

Alright, I'll add it in a bit

@0x42697262
Copy link
Author

0x42697262 commented Apr 28, 2024

@jskherman ah, this should work now... i just noticed that the previous commits were wrong. This should work now?

It does work for this kind of input though:

certificates:
  - name: "Banana"
    date: 2022-07-01
    issuer: Another Issuer
    url: 
    id: ID-HERE-1412
  - name: "Microsoft maybe"
    date: 2021-04-11
    issuer: Github
    url: 
    id: 

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

Successfully merging this pull request may close these issues.

None yet

2 participants