MarkdownServer.Markdig.SyntaxHighlighting
1.4.0-tags-v1-4.1
This is a prerelease version of MarkdownServer.Markdig.SyntaxHighlighting.
This package has a SemVer 2.0.0 package version: 1.4.0-tags-v1-4.1+88.
dotnet add package MarkdownServer.Markdig.SyntaxHighlighting --version 1.4.0-tags-v1-4.1
NuGet\Install-Package MarkdownServer.Markdig.SyntaxHighlighting -Version 1.4.0-tags-v1-4.1
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.Markdig.SyntaxHighlighting" Version="1.4.0-tags-v1-4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MarkdownServer.Markdig.SyntaxHighlighting --version 1.4.0-tags-v1-4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MarkdownServer.Markdig.SyntaxHighlighting, 1.4.0-tags-v1-4.1"
#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.Markdig.SyntaxHighlighting as a Cake Addin #addin nuget:?package=MarkdownServer.Markdig.SyntaxHighlighting&version=1.4.0-tags-v1-4.1&prerelease // Install MarkdownServer.Markdig.SyntaxHighlighting as a Cake Tool #tool nuget:?package=MarkdownServer.Markdig.SyntaxHighlighting&version=1.4.0-tags-v1-4.1&prerelease
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 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.
-
net7.0
- Markdig (>= 0.31.0)
- MarkdownServer.ColorCodePortable (>= 1.4.0-tags-v1-4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MarkdownServer.Markdig.SyntaxHighlighting:
Package | Downloads |
---|---|
MarkdownServer
MarkdownServer Middleware for ASPNet Core |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.0-tags-v1-4.1 | 65 | 2/3/2024 |
1.3.0 | 288 | 7/31/2022 |