Giter Club home page Giter Club logo

md-preview's Introduction

(M)DOOM-PREVIEW

Whats is

A very simple and minimalistic Markdown viewer, I built this tool with the idea of supplying my needs and learning in the process :)

my needs = class note taking

Features

  • Live reload
  • KaTex and MathJax support.
  • Emoji support.
  • fully compatible with neovim.
  • markdown flavor like github.
  • and more...

Installation

To install it must be done through npm or a similar Node package manager like yarn or pnpm.

pnpm

pnpm install -g mdoom-preview

yarn

yarn add -g mdoom-preview

npm

npm install -g mdoom-preview

Manual

Another option is to install it manually, clone the repository and install the dependencies.

git clone <THIS_REPO>
cd <THIS_REPO>
pnpm install

Then you can execute the program running this command.

pnpm run dev

Usage

This tool is intended to be simple to use and still be free to any modification is why at the time of running for the first time will create a directory in ~/.config/md-preview/ there will be created the index.html and index.css files that can be modified in order to customize the styles and some functionality according to the user's needs ;)

command structure

mdoom-preview file.md

This will open a browser window with the server and the file.

Integration with Neovim

Work in progress

Personalization

You can customize all in this tool, if you want to change the Markdown style you can edit ~/.config/md-preview/css/style.css.

Contribution

Feel free to modify this tool and if you wish make a pull request :3

md-preview's People

Contributors

cmoisdead avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.