/norg2html

Simple utility to convert norg files to html

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Installation

Dump this into your terminal

git clone https://github.com/viperx7/norg2html
cd norg2html
pip3 install -r requirements.txt
mv norg2html.py ~/.local/bin/norg2html
chomd +x ~/.local/bin/norg2html
cd ..
rm norg2html -r

Requirements

  1. Gnome Terminal : No other terminal would work
  2. stty : This should be already there

Usage

usage: norg2html [-h] [--output OUTPUT] [--font FONT] [--bgcolor BGCOLOR]
                    [--colorscheme COLORSCHEME] [--width WIDTH] [--presenter]
                    path

positional arguments:
  path

options:
  -h, --help                 show this help message and exit
  --output OUTPUT            path to output
  --font FONT                font to set for the output
  --bgcolor BGCOLOR          background color to fill
  --colorscheme COLORSCHEME  specify vim colorscheme
  --width WIDTH              specify width
  --presenter                Enable norg presenter mode</pre>

Example

norg2html ./README.norg --width 100