All Projects → CSUwangj → md2docx-csharp

CSUwangj / md2docx-csharp

Licence: MIT license
use c sharp enhance md2docx solution.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to md2docx-csharp

Version3-1
Version 2020 (3.1) of Chem4Word - A Chemistry Add-In for Microsoft Word
Stars: ✭ 14 (-44%)
Mutual labels:  openxml, openxml-sdk
Version3
Version 3 of Chem4Word - A Chemistry Add-In for Microsoft Word
Stars: ✭ 53 (+112%)
Mutual labels:  openxml, openxml-sdk
Closedxml
ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.
Stars: ✭ 2,799 (+11096%)
Mutual labels:  openxml
Excelize
Golang library for reading and writing Microsoft Excel™ (XLSX) files.
Stars: ✭ 10,286 (+41044%)
Mutual labels:  openxml
docxmustache
laravel 8.x docx template manipulation class, based on mustache templating language
Stars: ✭ 34 (+36%)
Mutual labels:  openxml
ShapeCrawler
A .NET library for manipulating PowerPoint presentations.
Stars: ✭ 88 (+252%)
Mutual labels:  openxml
vscode-openxml-explorer
OpenXML Explorer extension for VS Code
Stars: ✭ 16 (-36%)
Mutual labels:  openxml
Clippit
Fresh PowerTools for OpenXml
Stars: ✭ 25 (+0%)
Mutual labels:  openxml
npoi
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Stars: ✭ 4,493 (+17872%)
Mutual labels:  openxml
OpenXMolar
A MS OpenXML Format Fuzzing Framework
Stars: ✭ 79 (+216%)
Mutual labels:  openxml
MiniExcel
Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet
Stars: ✭ 996 (+3884%)
Mutual labels:  openxml
OpenSpreadsheet
OpenSpreadsheet provides an easy-to-use wrapper around the OpenXML spreadsheet SAX API. It specializes in efficiently reading and writing between strongly typed collections and worksheets.
Stars: ✭ 24 (-4%)
Mutual labels:  openxml

md2docx-csharpBuild status

使用C#开发的将markdown转换为docx的工具。

该项目是CSUIS-md2docx的一个子项目,目前2.3版已经完工,下一步动向见TODO。

下载: latest release | latest CI build (master)(文档未完成)

快速开始

下载release中的Release.zip,解压后在解压的目录中,命令行使用。也可以将程序路径加入PATH方便使用。

无参数使用时除了提示信息外相当于md2docx.exe -i input.md -c config.json -o <id><name><filename>.docx

请注意图片路径的问题。

数学公式目前仅支持对一整个段落的处理,即以$$开头且结尾的段落被当作数学公式。处理过程借助了Pandoc,所以你需要安装Pandoc,并将其程序路径加入PATH。

编译

Visual Studio

使用Visual Studio(>=2017)打开.sln后进行编译,如果有缺少的库、VS支持,VS(理论上)会进行提示并可以进行相对自动化的安装。

MSBuild

MSBuild.exe md2docx.sln /p:Configuration=Debug /p:Platform="Any CPU"

MSBuild.exe md2docx.sln /p:Configuration=Release /p:Platform="Any CPU"

输出路径为md2docx\bin\(Debug|Release)

Markdown语法

specification

配置文件

schema文件为schema,示例文件为default config

文档

在我的博客中对写这个程序的过程做了一个简介,同时总结了一下用到的资料,暂且先用它吧。

TODO

未实现的TODO按照实现可能性降序排列

  • 加入测试(并重构)
  • 将格式等设置改为配置文件而非硬编码
  • 部署CI
  • 图片
  • 页眉
  • 页脚
  • 链接
  • 公式
  • 将parser更换成一个标准更接近GFM的parser
  • 根据文件设定路径
  • 表格
  • 列表
  • 图形化
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].