mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
ConvertFrom-Markdown is used for converting a markdown document or string to a MarkdownInfo object. It can optionally return a HTML or VT100 encoded string in addition to a AST of the markdown document. Show-Markdown is used to either display the VT100 encoded string on console or redirect the HTML string to the browser. Set/Get-MarkdownOption cmdlets get be used to view or set markdown rendering options.
19 lines
472 B
C#
19 lines
472 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
using System;
|
|
using System.IO;
|
|
using Markdig;
|
|
using Markdig.Syntax;
|
|
using Markdig.Renderers;
|
|
|
|
namespace Microsoft.PowerShell.MarkdownRender
|
|
{
|
|
/// <summary>
|
|
/// Implement the MarkdownObjectRenderer with VT100Renderer.
|
|
/// </summary>
|
|
public abstract class VT100ObjectRenderer<T> : MarkdownObjectRenderer<VT100Renderer, T> where T : MarkdownObject
|
|
{
|
|
}
|
|
}
|