Skip to content

feat(types): expose MarkdownParsedContent for improved type generics - #1199

Merged
Tahul merged 4 commits into
nuxt:mainfrom
harlan-zw:feat/improved-markdown-types
Jun 3, 2022
Merged

feat(types): expose MarkdownParsedContent for improved type generics#1199
Tahul merged 4 commits into
nuxt:mainfrom
harlan-zw:feat/improved-markdown-types

Conversation

@harlan-zw

Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Add a Markdown specific parsed content schema, allowing end-users to build generics that have better type safety.

I did see #1057, I'd presume we'd need a safer type for markdown files when that's built so this should help with that.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Jun 2, 2022

Copy link
Copy Markdown

‼️ Deploy request for nuxt-content rejected.

NameLink
🔨 Latest commit7ccec6e

@harlan-zwharlan-zw changed the title feat(types): expose MarkdownParsedContent for improved markdown type genericsfeat(types): expose MarkdownParsedContent for improved type genericsJun 2, 2022
@Tahul

Tahul commented Jun 3, 2022

Copy link
Copy Markdown
Contributor

This is an excellent first step towards #1057 ; would love to include you in the loop about this type generation feature!

Thank you a lot @harlan-zw 😄

@Tahul
Tahul merged commit 0329ac9 into nuxt:mainJun 3, 2022
@harlan-zw

Copy link
Copy Markdown
ContributorAuthor

Yes please do @Tahul, I was thinking about how this could be achieved

@farnabazfarnabaz mentioned this pull request Aug 12, 2022
Sign up for freeto 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.

2 participants

@harlan-zw@Tahul