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

Add example of emitting tags to documentation. #1286

Open
davidzchen opened this issue Jun 20, 2024 · 2 comments
Open

Add example of emitting tags to documentation. #1286

davidzchen opened this issue Jun 20, 2024 · 2 comments

Comments

@davidzchen
Copy link

Is there a way to emit explicit tags when emitting YAML values?

The How to Emit YAML documentation does not have any mention of this.

@davidzchen davidzchen changed the title Emitting tags Add example of emitting tags to documentation. Jun 20, 2024
@davidzchen
Copy link
Author

After digging through the bugs, I found that tags can be added using YAML::LocalTag("tag").

I'm happy to add this to the documentation.

@jbeder
Copy link
Owner

jbeder commented Jun 20, 2024

Great! Happy to accept a PR.

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

No branches or pull requests

2 participants