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

DOC-916 Embeddable Blobl playground editor #91

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

JakeSCahill
Copy link
Contributor

@JakeSCahill JakeSCahill commented Jan 9, 2025

2025-01-09_14-06-14.mp4

Syntax:

[bloblang_snippet]
root.id = counter()

It's possible to increment a counter multiple times within a single mapping invocation using a map.

[bloblang_snippet]
map foos {
  root = counter()
}
root.meow_id = null.apply("foos")
root.woof_id = null.apply("foos")

[bloblang_snippet, input='{"key": "value"}', metadata='{"meta": "data"}']
root.doc.id = uuid_v4()
root.doc.received_at = now()
root.doc.host = hostname()

@JakeSCahill JakeSCahill marked this pull request as draft January 9, 2025 14:01
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for docs-extensions-and-macros ready!

Name Link
🔨 Latest commit 8d1ec3c
🔍 Latest deploy log https://app.netlify.com/sites/docs-extensions-and-macros/deploys/6781564bce6fc8000848711d
😎 Deploy Preview https://deploy-preview-91--docs-extensions-and-macros.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 configuration.

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.

1 participant