YamlDotNet
YamlDotNet copied to clipboard
Empty line in comments
trafficstars
Hi,
I try to generate an empty line using ChainedObjectGraphVisitor, but does not works, any idea how to accomplish this?
I also tried to use [YamlMember(Description = "\nGeneral configuration")] but don't work either.
public override bool EnterMapping(IPropertyDescriptor key, IObjectDescriptor value, IEmitter context)
{
context.Emit(new Scalar(""));
context.Emit(new Comment("Comment", false));
return base.EnterMapping(key, value, context);
}
Regards