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

feat: call hooks before and after parse #1160

Merged
merged 15 commits into from May 31, 2022
Merged

feat: call hooks before and after parse #1160

merged 15 commits into from May 31, 2022

Conversation

farnabaz
Copy link
Member

πŸ”— Linked issue

nuxt/framework#1119

❓ 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

Introduce two hooks to manipulate contents before/after parsing.

πŸ“ Checklist

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

@netlify
Copy link

netlify bot commented May 27, 2022

βœ… Deploy Preview for nuxt-content ready!

Name Link
πŸ”¨ Latest commit d2fad05
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/6295e9e650618a000818e154
😎 Deploy Preview https://deploy-preview-1160--nuxt-content.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@farnabaz farnabaz requested review from pi0 and Atinux May 27, 2022 08:11
@Atinux
Copy link
Member

Atinux commented May 27, 2022

Would be nice to add a test case and document it somewhere 😊

@Tahul
Copy link
Contributor

Tahul commented May 30, 2022

This looks good to me, will it unlock proper reloading with Tailwind classes used in .md files?

I would only add a link to https://nitro.unjs.io/guide/plugins.html somewhere in the docs and specify where these plugins should be placed. πŸ™‚

docs/content/4.api/4.advanced.md Outdated Show resolved Hide resolved
docs/content/4.api/4.advanced.md Outdated Show resolved Hide resolved
docs/content/4.api/4.advanced.md Outdated Show resolved Hide resolved
docs/content/4.api/4.advanced.md Outdated Show resolved Hide resolved
Atinux and others added 4 commits May 30, 2022 19:54
Co-authored-by: SΓ©bastien Chopin <seb@nuxtjs.com>
Co-authored-by: SΓ©bastien Chopin <seb@nuxtjs.com>
Co-authored-by: SΓ©bastien Chopin <seb@nuxtjs.com>
@Atinux Atinux merged commit 71d5640 into main May 31, 2022
@Atinux Atinux deleted the feat/parse-hooks branch May 31, 2022 10:12
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

3 participants