Skip to content

Using pandoc (a universal document converter) in Server Side Swift.

Notifications You must be signed in to change notification settings

RockfordWei/PanDoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Pandoc in Swift

Version

Swift 3.1 / Swift 4.0

Install

Call sudo ./install.sh for pandoc installation.

Quick Start

Package.swift:

.Package(url: "https://github.com/RockfordWei/Pandoc.git", majorVersion: 1)

Import:

Import Pandoc

Convert file:

try PanDocConvert (
  sourceFile: "./testdoc.docx",
  sourceType: "docx",
  resultFile: "/tmp/test.html",
  resultType: "html")

Reference

Pandoc Website: http://pandoc.org

About

Using pandoc (a universal document converter) in Server Side Swift.

Resources

Stars

Watchers

Forks

Packages

No packages published