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

fix(MarkdownParser): refine content path in anchor link #1629

Merged
merged 3 commits into from Oct 27, 2022

Conversation

farnabaz
Copy link
Member

@farnabaz farnabaz commented Oct 20, 2022

πŸ”— Linked issue

resolve #1628

❓ 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

Only refine urls that points to a markdown file (URLs ending with .md)
This will prevent possible conflict with user custom links, and result more compatibility with path generation

πŸ“ Checklist

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

@netlify
Copy link

netlify bot commented Oct 20, 2022

βœ… Deploy Preview for nuxt-content ready!

Name Link
πŸ”¨ Latest commit 8c1f82f
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/6357afa712d61600087d807e
😎 Deploy Preview https://deploy-preview-1629--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 changed the title fix(MarkdownParser): preserve . in relative links fix(MarkdownParser): refine content path in anchor link Oct 25, 2022
@farnabaz farnabaz merged commit f045abe into main Oct 27, 2022
@farnabaz farnabaz deleted the fix/link-handler branch October 27, 2022 10:05
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.

Relative link in markdown don't work at the subfolder
2 participants