Skip to content

docs: correct default highlight.langs in JSDoc#2559

Merged
farnabaz merged 1 commit into
nuxt:mainfrom
Mini-ghost:docs/fix-jsdoc-error
Feb 14, 2024
Merged

docs: correct default highlight.langs in JSDoc#2559
farnabaz merged 1 commit into
nuxt:mainfrom
Mini-ghost:docs/fix-jsdoc-error

Conversation

@Mini-ghost

Copy link
Copy Markdown
Member

🔗 Linked issue

N/A

❓ 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

The current JSDoc comment mentions that the default setting for highlight.langs is ['js', 'ts', 'vue', 'css', 'html', 'vue', 'shell']. However, the actual default in @nuxtjs/mdc is ['js', 'jsx', 'json', 'ts', 'tsx', 'vue', 'css', 'html', 'vue', 'bash', 'md', 'mdc', 'yaml'].

📝 Checklist

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

@farnabaz farnabaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

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.

2 participants