Skip to content

Stringify list items with custom tags #412

Closed Answered by eemeli
smith-xyz asked this question in Q&A
Discussion options

You must be logged in to vote

The tag method that you're missing isn't actually stringify, but createNode. Tags that extend maps and sequences require you to define how to turn e.g. something like a !ruby/object:SomeRule into a YAML map. Once you've done that, you should not need to customise the stringifier at all.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smith-xyz
Comment options

Answer selected by smith-xyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants