Skip to content

Yet another implementation of the Markdown Text to HTML Converter, built on .NET Core console application.

License

Notifications You must be signed in to change notification settings

jsakamoto/dotnet-md2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-md2html NuGet Package

Summary

Yet another implementation of the Markdown Text to HTML Converter, built on .NET Core console application.

Install

Case 1. Install as a .NET Core project local tool - Reference from .NET Core project

Add a .NET CLI Tool reference in the .csproj file.

<ItemGroup>
  <DotNetCliToolReference Include="dotnet-md2html" Version="1.0.0.1-preview1" />
</ItemGroup>

After NuGet package restoring, you can use dotnet md2html command in the project folder.

Case 2. Install as a global tool

> dotnet tool install -g dotnet-md2html --version 1.0.0.1-preview1

See also Microsoft Docs site.

Command Line Syntax

Usage

> dotnet md2html [options]

Options

Options Description
-v Show version of dotnet-md2html command.
-i {path} Specify the file path of source markdown text file. If -i options is not specified, dotnet-md2html command reads source markdown text from standard input stream.
-o {path} Specify the file path of destination HTML file. If -o option is not specified, dotnet-md2html command writes HTML converted from source markdown text into standard output stream.
-e Embed images into the HTML file as a data protocol instead of image path references.

License

Mozilla Public License 2.0

About

Yet another implementation of the Markdown Text to HTML Converter, built on .NET Core console application.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published