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(preset-mini): add handler bracket types #1717

Merged
merged 2 commits into from Oct 9, 2022

Conversation

chu121su12
Copy link
Collaborator

This PR adds handler types:

  • [raw:x]: The value will be placed as is, without any alteration. This may not always be viable in extraction but could be useful in manual generate() method.
  • [string:x]: only the underscore bracket logic will be applied and the value will then be single-quoted. url and calc replacements are not applied

@netlify
Copy link

netlify bot commented Oct 9, 2022

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 843df1b
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/6342c54872cf0c000a823aec
😎 Deploy Preview https://deploy-preview-1717--unocss.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.

@chu121su12 chu121su12 marked this pull request as ready for review October 9, 2022 13:08
@chu121su12 chu121su12 requested a review from antfu as a code owner October 9, 2022 13:08
@antfu antfu merged commit 32c283d into unocss:main Oct 9, 2022
@chu121su12 chu121su12 deleted the feat/bracket branch October 10, 2022 01:39
MellowCo added a commit to MellowCo/unocss-preset-weapp that referenced this pull request Oct 29, 2022
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

2 participants