All Projects → commenthol → md-fileserver

commenthol / md-fileserver

Licence: other
Locally view markdown files in a browser.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to md-fileserver

inker
Measure & copy CSS from your designs of Sketch, Gravit Designer, Adobe XD, Vectr, etc. Pro version: https://github.com/inker8/
Stars: ✭ 56 (+12%)
Mutual labels:  viewer
go-spice
SPICE proxy library, written in go
Stars: ✭ 23 (-54%)
Mutual labels:  viewer
u-dicom-viewer
A simple web browser DICOM viewer for any device.
Stars: ✭ 91 (+82%)
Mutual labels:  viewer
stl-gcode-viewer
STL/OBJ/GCode Viewer in Qt
Stars: ✭ 49 (-2%)
Mutual labels:  viewer
forge.commandline-nodejs
Authorisation and translation via console application: Command line tool demonstrating the authorisation and translation process using a Node.js console application
Stars: ✭ 15 (-70%)
Mutual labels:  viewer
3D-Detection-Tracking-Viewer
3D detection and tracking viewer (visualization) for kitti & waymo dataset
Stars: ✭ 150 (+200%)
Mutual labels:  viewer
ai-unchive
AIA Viewer for Kodular
Stars: ✭ 18 (-64%)
Mutual labels:  viewer
infinite-viewer
Infinite Viewer is Document Viewer Component with infinite scrolling.
Stars: ✭ 85 (+70%)
Mutual labels:  viewer
ccViewer
CryptCloudViewer source codes
Stars: ✭ 66 (+32%)
Mutual labels:  viewer
viewer-navigation.sample
3D model navigation pane: Navigates a 3D model using a synchronized 2D map pane
Stars: ✭ 48 (-4%)
Mutual labels:  viewer
saccade
A sophisticated scientific image viewer for Linux with OpenGL support and synchronized viewports
Stars: ✭ 38 (-24%)
Mutual labels:  viewer
icosa-viewer
3D Viewer component for Tilt Brush / Open Brush, Google Blocks files and their derivatives
Stars: ✭ 24 (-52%)
Mutual labels:  viewer
ManOpen
A macOS GUI application for viewing Unix manual pages.
Stars: ✭ 18 (-64%)
Mutual labels:  viewer
StlVault
3D object viewer and organizer
Stars: ✭ 104 (+108%)
Mutual labels:  viewer
Avenue-GPX-Viewer
A simple and easy GPX viewer for macOS.
Stars: ✭ 42 (-16%)
Mutual labels:  viewer
Viewer
Viewer is a configurable application template that enables you to display an ArcGIS web map using a variety of tools.
Stars: ✭ 56 (+12%)
Mutual labels:  viewer
json-log-viewer
Powerful terminal based viewer for JSON logs using ncurses.
Stars: ✭ 171 (+242%)
Mutual labels:  viewer
Minemap
An efficient map viewer for Minecraft seed in a nice GUI with utilities without ever needing to install Minecraft.
Stars: ✭ 104 (+108%)
Mutual labels:  viewer
PSEventViewer
PSEventViewer (Get-Events) is really useful PowerShell wrapper around Get-WinEvent. One of the features you may be interested in is a simple way of getting “hidden” events data
Stars: ✭ 74 (+48%)
Mutual labels:  viewer
PospoliteView
Pospolite View aims to be a simple HTML viewer engine fully made in Free Pascal.
Stars: ✭ 29 (-42%)
Mutual labels:  viewer

md-fileserver

Locally view markdown files in a browser.

npm version Build Status

Starts a local server to render "markdown" files within your browser:

Table of Contents

Installation

npm install -g md-fileserver

Usage

Start the Local Server

In your terminal type:

mdstart

Open the given link http://localhost:4000/?session=... in your browser and navigate to the markdown file.

Note: The local server can only be reached from your local computer on port 4000. Any remote access from other computers to your files is denied. An internal session is used, so you'll need to either start with a file or use the provided link with the session parameter.

Open a markdown file

Type in your terminal:

mdstart <file.md>

This will open the default browser with the processed markdown file.

Configuration

mdstart /config

Help

mdstart --help

or

man mdstart

Cheatsheet

mdstart /cheatsheet

Cheatsheet

Personalisation

In config.js you can change several settings to fit your needs. These include:

  • Browser: Default browser of MacOS, Linux or Windows is used.
  • Markdown options: Change the options how markdown-it processes your markdown files.
  • Markdown PP options: Change the options how markedpp pre-processes your markdown files.

Install personalized version:

  1. Clone this repo

    git clone --depth 2 https://github.com/commenthol/md-fileserver.git
    cd md-fileserver
    
  2. Make your changes in ./config.js

  3. Install with npm i -g from same folder.
    If there are issues with installing you'll need to uninstall first with npm un -g

Contribution

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work.

License

Copyright (c) 2014-present commenthol
Software is released under MIT License.

Bundled fonts from KaTeX by Khan Academy - https://github.com/Khan/KaTeX - License (Fonts: SIL OFL 1.1, Code: MIT License)

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].