powershell/file-formats/md-file.ts (8 lines of code) (raw):

/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { TextWithRegions, TextPossibilities, Text, EOL } from '@azure-tools/codegen'; export class MdFile extends TextWithRegions { constructor(content?: TextPossibilities, objectIntializer?: Partial<MdFile>) { content = content || ''; super(content, undefined, '<!--', '-->'); this.apply(objectIntializer); } }