public override ISnapshot Load(SnapshotParseContext snapshotParseContext, ISourceFile sourceFile) { var lines = sourceFile.ReadAsLines(snapshotParseContext.Tokens); var sb = new StringBuilder(); foreach (var line in lines) { if (line.StartsWith("---")) { sb.AppendLine("- Item:"); } else { sb.AppendLine(" " + line); } } return(Factory.UnicornTextSnapshot(sourceFile, sb.ToString())); }