MarkdownServer.ApplicationFramework 1.4.0

dotnet add package MarkdownServer.ApplicationFramework --version 1.4.0                
NuGet\Install-Package MarkdownServer.ApplicationFramework -Version 1.4.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.ApplicationFramework" Version="1.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MarkdownServer.ApplicationFramework --version 1.4.0                
#r "nuget: MarkdownServer.ApplicationFramework, 1.4.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.ApplicationFramework as a Cake Addin
#addin nuget:?package=MarkdownServer.ApplicationFramework&version=1.4.0

// Install MarkdownServer.ApplicationFramework as a Cake Tool
#tool nuget:?package=MarkdownServer.ApplicationFramework&version=1.4.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 net7.0 is compatible.  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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 145 2/3/2024
1.3.0 231 7/31/2022