Angri450.Nong.Pandoc 4.5.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Angri450.Nong.Pandoc --version 4.5.0
                    
NuGet\Install-Package Angri450.Nong.Pandoc -Version 4.5.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="Angri450.Nong.Pandoc" Version="4.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Angri450.Nong.Pandoc" Version="4.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Angri450.Nong.Pandoc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Angri450.Nong.Pandoc --version 4.5.0
                    
#r "nuget: Angri450.Nong.Pandoc, 4.5.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.
#:package Angri450.Nong.Pandoc@4.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Angri450.Nong.Pandoc&version=4.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Angri450.Nong.Pandoc&version=4.5.0
                    
Install as a Cake Tool

Angri450.Nong.Pandoc

Pure .NET Pandoc-style document model for Nong.NET.

This package is not a vendored copy of GPL Pandoc and does not require pandoc.exe. It provides Nong's own semantic document layer and shared cross-package stream contract:

a.docx / a.pdf / a.pptx / a.xlsx
  -> a.slice/
     manifest.json
     document.json
     content.jsonl
     content.nongmark
     structure.json
     format.json
     assets/manifest.json

Scope

  • Semantic document AST: metadata, headings, paragraphs, lists, block quotes, tables, figures, references, raw extension blocks.
  • Shared stream names and package manifest for Word/PDF/PPT/Excel adapters.
  • NongMark text reader/writer for human and AI editing.
  • Apache-2.0 package boundary.

Non-goals

  • It is not a full Pandoc clone.
  • It does not bundle Pandoc's Haskell source or binary.
  • It does not make Markdown the Word formatter.
  • It does not store Word OOXML layout as rich text.

Example

using PandocCore;

var doc = new NongPandocDocument
{
    Metadata = { ["title"] = "校企共建方案书" },
    Blocks =
    {
        NongHeadingBlock.FromText(1, "项目摘要", "sec-summary"),
        NongParagraphBlock.FromText("中文正文(Solanum lycopersicum)继续正文。"),
        new NongTableBlock
        {
            Caption = "表1 任务分解",
            Style = "three-line",
            Headers = { "任务", "指标" },
            Rows = { new List<string> { "论文", "SCI 二区" } }
        }
    }
};

var nongmark = NongMarkTextWriter.Write(doc);
var parsed = NongMarkTextReader.Read(nongmark);

Design Rule

NongMark records what the content is. Word formatters decide how it should look. For example, style="three-line" means a semantic academic table; the DOCX formatter owns the final 1.5 pt / 0.75 pt / 1.5 pt border evidence.

See CONSTRUCTION_PLAN.md for the cross-package alignment plan.

Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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