All Projects → davidar → Pandiff

davidar / Pandiff

Licence: mit
Prose diffs for any document format supported by Pandoc

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Pandiff

Pandoc
Universal markup converter
Stars: ✭ 24,250 (+21945.45%)
Mutual labels:  document, markdown, pandoc
Gotenberg Php Client
PHP client for the Gotenberg API
Stars: ✭ 80 (-27.27%)
Mutual labels:  markdown, word, pdf
Pandoc Book Template
A simple Pandoc template to build documents and ebooks.
Stars: ✭ 214 (+94.55%)
Mutual labels:  markdown, pandoc, pdf
Etherpad Lite
Etherpad: A modern really-real-time collaborative document editor.
Stars: ✭ 11,937 (+10751.82%)
Mutual labels:  document, word, pdf
Letter Boilerplate
Finest letter typesetting from the command line
Stars: ✭ 374 (+240%)
Mutual labels:  markdown, pandoc, pdf
Pandoc Latex Template
A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
Stars: ✭ 3,750 (+3309.09%)
Mutual labels:  markdown, pandoc, pdf
Gotenberg
A Docker-powered stateless API for PDF files.
Stars: ✭ 3,272 (+2874.55%)
Mutual labels:  markdown, pdf, word
Zettlr
A Markdown Editor for the 21st century.
Stars: ✭ 6,099 (+5444.55%)
Mutual labels:  markdown, pandoc, pdf
Gotenberg Go Client
Go client for the Gotenberg API
Stars: ✭ 35 (-68.18%)
Mutual labels:  markdown, word, pdf
Pdf
Simple http microservice that converts Word documents to PDF
Stars: ✭ 107 (-2.73%)
Mutual labels:  word, pdf
Magicodes.ie
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.
Stars: ✭ 1,198 (+989.09%)
Mutual labels:  word, pdf
Pandoc Letter Din5008
Pandoc template for writing Markdown letters (DIN 5008)
Stars: ✭ 77 (-30%)
Mutual labels:  pandoc, pdf
Ieee Pandoc Template
IEEE paper template for pandoc
Stars: ✭ 76 (-30.91%)
Mutual labels:  markdown, pandoc
Markdeck
presentations as code - author cool slide decks, text-only, offline-ready, collaborative
Stars: ✭ 1,159 (+953.64%)
Mutual labels:  markdown, pandoc
Markdownmonster
An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
Stars: ✭ 1,203 (+993.64%)
Mutual labels:  markdown, pdf
Scanbot Sdk Example Android
Document scanning SDK example apps for the Scanbot SDK for Android.
Stars: ✭ 67 (-39.09%)
Mutual labels:  document, pdf
Docnado
Rapid documentation tool that will blow you away...
Stars: ✭ 67 (-39.09%)
Mutual labels:  markdown, pdf
Pandoc Sidenote
Convert Pandoc Markdown-style footnotes into sidenotes
Stars: ✭ 78 (-29.09%)
Mutual labels:  markdown, pandoc
Word To Markdown
A ruby gem to liberate content from Microsoft Word documents
Stars: ✭ 1,216 (+1005.45%)
Mutual labels:  markdown, word
Vue Md Loader
✨ Markdown files to ALIVE Vue components.
Stars: ✭ 78 (-29.09%)
Mutual labels:  document, markdown

PanDiff

Build Status Gitpod ready-to-code

Features

Installation

First install Pandoc and npm, then run:

npm install -g pandiff

Usage

pandiff test/old.md test/new.md
{~~Old~>New~~} Title
====================

{--![image](minus.png)--}

{++![image](plus.png)++}

1.  Lorem ipsum dolor {++sit ++}amet
2.  {++[consectetur adipiscing
elit](https://en.wikipedia.org/wiki/Lorem_ipsum)++}
3.  Lorem{-- ipsum--} dolor sit amet

I really love *italic {~~fonts~>font-styles~~}* {~~here.~>there.~~}

``` diff
 print("Hello")
-print("world.")
+print("world!")
 print("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt")
```

Don’t go around saying {--to people that --}the world owes you a
living. The world owes you nothing. It was here first. {~~One~>Only
one~~} thing is impossible for God: To find{++ any++} sense in any
copyright law on the planet. Truth is stranger than fiction, but it is
because Fiction is obliged to stick to possibilities; Truth isn’t.

Options

pandiff --help
Usage: pandiff [OPTIONS] FILE1 FILE2
      --atx-headers
      --bibliography=FILE
      --csl=FILE
      --columns=NUMBER
      --extract-media=PATH
  -F, --filter=STRING
  -f, --from=FORMAT
  -h, --help
      --highlight-style=STRING
      --lua-filter=FILE
      --mathjax=BOOL
      --mathml=BOOL
  -o, --output=FILE
      --pdf-engine=STRING
      --reference-dic=FILE
      --reference-links
      --resource-path=PATH
  -s, --standalone
  -t, --to=FORMAT
  -v, --version
      --wrap=STRING

Git integration

Configure git by running the following commands:

git config --global difftool.pandiff.cmd 'pandiff "$LOCAL" "$REMOTE"'
git config --global alias.pandiff 'difftool -t pandiff -y'

Now you can use git pandiff wherever you would usually use git diff.

HTML output

pandiff old.md new.md -s -o diff.html

PDF output

pandiff old.md new.md -o diff.pdf

Word Track Changes

pandiff old.md new.md -o diff.docx
pandiff test/track_changes_move.docx
Here is some text.

{++Here is the text to be moved.++}

Here is some more text.

{--Here is the text to be moved.--}
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].