MarkdownServer.ColorCodePortable 1.3.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MarkdownServer.ColorCodePortable --version 1.3.0                
NuGet\Install-Package MarkdownServer.ColorCodePortable -Version 1.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MarkdownServer.ColorCodePortable" Version="1.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MarkdownServer.ColorCodePortable --version 1.3.0                
#r "nuget: MarkdownServer.ColorCodePortable, 1.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MarkdownServer.ColorCodePortable as a Cake Addin
#addin nuget:?package=MarkdownServer.ColorCodePortable&version=1.3.0

// Install MarkdownServer.ColorCodePortable as a Cake Tool
#tool nuget:?package=MarkdownServer.ColorCodePortable&version=1.3.0                

MarkdownServer for ASP.net.

What it is: Markdown as Markup Application Server for ASP.Net.

Using it is as simple as importing the Nuget package and adding builder.AddMarkdownServer() to ConfigureServices and app.UseMarkdownServer() in Configure. Or just place this in Program.cs for C# 10:

builder.AddMarkdownServer();

//....

app.UserMarkdownServer();

Current Features:

  • Serve Markdown file URLs which are rendered through a default layout.html or specify the layout in the YAML front matter.
  • Include Markdown files using the #include() tag in Markdown, or by adding MDS-Inclue-"" attribute to a block tag in the layout HTML file.
  • Create forms and form elements with a simple syntax in Markdown.
  • Front-Matter variables can be displayed with #(variable) in the Markdown or layout HTML.
  • Link directly to Markdown documents, which also be rendered in the HTML layout.

Example

---
Title: Page Title
DefaultValue: This is default.
Layout: Shared/layout.html
---


# $(Title) 


!form#myForm({action=result.md},{method=post},{class="form-group"})
!label({for=txtBox}):Search

!input#txtBox({class="form-element"}):$(DefaultValue)
!button({type=submit}):Go!
!/form

Planned Features before release:

  • Code-behind for C# to handle form posts.
  • Object model and opinionated application design patterns.

Join the discussion to share your thoughts.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MarkdownServer.ColorCodePortable:

Package Downloads
MarkdownServer

MarkdownServer Middleware for ASPNet Core

MarkdownServer.Markdig.SyntaxHighlighting

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0-tags-v1-4.1 60 2/3/2024
1.3.0 369 7/31/2022