LoneRifle 648c0add59 DetectTOC: only go for lines containing '...' words
DetectTOC will work on all lines, shaving off numbers from the last of
the words in a given line, so long as the word is not all full-stops.
This implies that a TOC line is one that contains strings containing
only full-stops, and so, DetectTOC should only work on such lines.

This change will remove unwanted behaviour where DetectTOC removes
trailing numbers that we actually want to keep in lines, eg:

   Case Number : ABC 12/1234
2019-07-27 15:45:53 +08:00
2017-05-02 19:30:05 +02:00
2017-03-29 08:17:14 +02:00
2017-03-28 09:00:21 +02:00
2018-04-25 23:52:44 +02:00
2017-03-30 06:55:38 +02:00

PDF-To-Markdown Converter

Javascript tool to parse PDF files and convert them into Markdwon format. Online version at http://pdf2md.morethan.io!

Major Changes

  • Apr 2017 - 0.1: Initial Release

Contribute

Use the issue tracker and/or open pull requests!

Useful Build Commands

  • npm install Download all necessary npm packages
  • npm run lint Lint the javascript files
  • npm run test Run tests
  • npm run check Lint & Test
  • npm run build Build the dev version
  • npm run start Run the app on an server (useful for loading of worker.js and cmaps)
  • npm run watch Continuously build the project
  • open build/index.html Open the build project in your default browser
  • npm run release Build production version
  • npm run deploy Build production version & move it to the github pages fodler

Release

  • Increase version in package.json
  • npm run deploy
  • commit & push
  • tag with
    • git tag -a $releaseVersion -m "$releaseVersion release"
    • git push --tags

Credits

pdf.js - Mozilla's PDF parsing & rendering platform which is used as a raw parser

Description
A PDF to Markdown converter
Readme MIT 185 MiB
Languages
JavaScript 99.5%
HTML 0.3%
CSS 0.2%