1.2.1 • Published 6 years ago

markdown-markup-parser v1.2.1

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
6 years ago

MarkDown Markup Parser (MDMP) v1.2.1

If any of you have looked into making websites, you may have heard of SASS or programs like it that aim to simplify CSS. MDMP aims to do the same, but instead of CSS, it aims to simplify HTML using Markdown, built off of an existing package named Markdown-it. But what makes it different to any other Markdown parser? Some features are:

  • The ability to add multiple pages of HTML into a single Markdown file
  • Support for HTML tags that are not covered by Markdown
  • The ability to add classes and ID's to almost anything
  • A simplified way to add head information into an HTML document
  • Proper indentation of HTML files
  • Link outside scripts or stylesheets, including ones from CDNs

How to use:

Installing:

From NPM:

  1. Run npm install -g markdown-markup-parser to download this package and dependencies
  2. Once NPM is finished installing, run mdmp --init to make index.md with starting syntax
  3. Start using markdown!
  4. Once you have a page you want, simply run mdmp to parse the markdown file into a html file

From Git or GitHub:

  1. Run npm i in directory to install modules ** Optional: Run npm install -g /path/to/directory to use this module globally. If this is done, follow the steps in 'From NPM'
  2. Once NPM is finished installing packages, run node mdmp.js --init to make index.md with starting syntax
  3. Start using markdown!
  4. Once you have a page you want, simply run node mdmp.js and the program will parse the markdown file into a html file

Syntax:

Syntax can be found here

An example of the syntax in use can be found at examples/index.md.

Command line flags

  • --help, -h: Display help message
  • --file, -f: Specify markdown file to read from (default: index.md in current directory)
  • --dest, -d: Specify where you want files to be made (default: current directory)
  • --tag, -t: Specify command tags (default: /!)
  • --init: make a new markdown file with starters
  • --mdhelp, -m: Get help for markdown parsing commands
  • --version, -v: View version number

Want to contribute? Check out CHANGELOG.md and CONTRIBUTING.md

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago