Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

from annotation with line range #376

Merged
merged 1 commit into from
Jun 11, 2023
Merged

from annotation with line range #376

merged 1 commit into from
Jun 11, 2023

Conversation

pomber
Copy link
Contributor

@pomber pomber commented Jun 11, 2023

Fix #375

Now it's possible to include a range of lines using the from annotation (range starts at 1, not 0).

```py
# from ./some/file.py 4:7
```

@vercel
Copy link

vercel bot commented Jun 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chtest ✅ Ready (Inspect) Visit Preview Jun 11, 2023 10:55am
playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2023 10:55am

@pomber pomber added the patch label Jun 11, 2023
@vercel vercel bot temporarily deployed to Preview – playground June 11, 2023 10:55 Inactive
@github-actions
Copy link
Contributor

📦 Next.js Bundle Analysis for bundle-test

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@pomber pomber merged commit 716dc3d into next Jun 11, 2023
@pomber pomber deleted the from-range branch June 11, 2023 11:00
@github-actions
Copy link
Contributor

🚀 PR was released in v0.9.0 🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to include only a portion of an external file using the from annotation?
1 participant