MarkdownServer 1.4.0
dotnet add package MarkdownServer --version 1.4.0
NuGet\Install-Package MarkdownServer -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" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MarkdownServer --version 1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MarkdownServer, 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 as a Cake Addin #addin nuget:?package=MarkdownServer&version=1.4.0 // Install MarkdownServer as a Cake Tool #tool nuget:?package=MarkdownServer&version=1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 addingMDS-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 | Versions 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 is compatible. 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.
-
net7.0
- Faslinq (>= 1.0.5)
- Markdig (>= 0.31.0)
- MarkdownServer.ColorCodePortable (>= 1.0.0)
- MarkdownServer.Markdig.SyntaxHighlighting (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.3)
- YamlDotNet (>= 13.1.1)
-
net8.0
- Faslinq (>= 1.0.5)
- Markdig (>= 0.31.0)
- MarkdownServer.ColorCodePortable (>= 1.0.0)
- MarkdownServer.Markdig.SyntaxHighlighting (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.3)
- YamlDotNet (>= 13.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MarkdownServer:
Package | Downloads |
---|---|
MarkdownServer.ApplicationFramework
MarkdownServer Application Framework Middleware for ASPNet Core |
GitHub repositories
This package is not used by any popular GitHub repositories.