Skip to content

A gtk application to preview markdown files.

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

wilbura009/viewmd

Repository files navigation

name description version
viewmd
The simple markdown previewer.
1.0.1

viewmd

viewmd-preview

Installation

Quick Start

Users

git clone https://github.com/wilbura009/viewmd
cd viewmd && make install

Developers

git clone https://github.com/wilbura009/viewmd
cd viewmd && make install-dependencies && make run

Clones the repo., installs deps., compiles and runs viewmd with a test file.

Dependencies

The project has the following dependencies:

  • make
  • gcc
  • pandoc
  • pkg-config
  • libgtk-3-dev
  • libwebkit2gtk-4.1-dev

Note: The makefile uses apt to install dependencies.

The makefile includes rules for a few types of installations.

  • make install-dependencies -- Install only the dependencies, nothing else.
  • make install -- Install dependencies, compile project, and place the binary in /usr/local/bin/
  • make install-home -- Install dependencies, compile project, and place the binary in $(HOME)/.bin

Uninstalling

  • make uninstall -- Remove /usr/local/bin/viewmd.
  • make uninstall-home -- Remove $(HOME)/.bin/viewmd.
  • make uninstall-all -- run both previous make rules.

Usage

viewmd [file_to_preview.md]

Currently intended as a CLI tool for previewing markdown files. Ideally, paired with vim_viewmd, or any other program that might call it while editing in another window.

After installation you may call viewmd from anywhere as seen above.

Roadmap

See Issues

Contributing

See Contributing