mdocr
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

MDocr Build Status SonarCloud.io

MDOCR logo

MDocr allows you to manage your documents in Markdown inside a Git repository.

Use conventional commits to automate their versions.

Use:

  • commands: to automate content inside your MDs
  • postprocessors: to automate publishing
  • pdf
  • confluence
  • etc

Quickstart

Install

npm install -g mdocr
# OR
yarn global add mdocr

Usage

# Build docs with their new modification
mdocr build
# Publish docs and create a new version of each modified doc
mdocr publish
# Call post processors on each documents
mdocr postpublish

Built in Commands

CurrentVersion

To retrieve current document version:

# My New Doc
Version: <CurrentVersion />

will be replace by on build

# My New Doc
Version: 1.0.2

VersionsTable

To retrieve display document versions:

# My New Doc
Version: <CurrentVersion />

will be replace by on build

# My New Doc
Version: 1.0.2

Import

To import another MD inside your document

# My New Doc
Version: <CurrentVersion />

will be replace by on build

# My New Doc
Version: 1.0.2

How it works?

Flow:

MDocR flow

Customization

PreProcessor example


Readme

Keywords

none

Package Sidebar

Install

npm i mdocr

Weekly Downloads

10

Version

2.0.3

License

MIT

Unpacked Size

106 kB

Total Files

10

Last publish

Collaborators

  • loopingz