2.0.1 • Published 2 months ago

git-markdown-preview v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Git-Markdown-Preview

Content

What is this?

GitMarkdownPreview is an open-source and offline command-line interface (CLI) application/package designed for converting Markdown files to HTML, GitHub Markdown style.

Features

  • Offline Conversion: Convert Markdown files to HTML offline without the need for an internet connection.
  • Watch for Changes: Automatically update the HTML output when changes are made to the input Markdown file.
  • GitHub Styling: HTML output mirrors the GitHub Markdown style for consistency.
  • Code Block Highlighting: Integrated Starry Night ensures beautiful and syntax-highlighted code blocks.
  • Flowchart Support: Display Mermaid flowcharts directly in the HTML output.

Installation

# Clone the repository
git clone https://github.com/p-balu/git-markdown-preview.git

# Navigate to the project directory
cd git-markdown-preview

# Install dependencies
npm install

#To start the application locally
npm start `your/filepath/README.md`

Installing package using npm globally

Install the package globally

npm i git-markdown-preview -g

Start the application in 2 different ways

If you are already inside the directory where README.md file exists then run

gmark preview

or

gmark preview /path/toyour/README.md

Configuration

You can customize the appearance of the HTML output by modifying the included CSS file (styles.css).

Contributing

Contributions are welcome! Feel free to open issues, submit pull requests, or provide feedback.

License

This project is licensed under the MIT License.

2.0.1

2 months ago

1.1.13

3 months ago

1.1.11

3 months ago

1.1.10

3 months ago

1.2.2

3 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.7

3 months ago

1.1.6

3 months ago

1.1.5

3 months ago

1.1.3

3 months ago

1.1.2

3 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago