All Projects → linuxenko → Lessmd

linuxenko / Lessmd

Licence: mit
A small markdown viewer/converter for unix terminal.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Lessmd

Pipe
🎷 一款小而美的博客平台,专为程序员设计。
Stars: ✭ 3,898 (+3095.08%)
Mutual labels:  pipe, markdown
Pipe
🎷 B3log 分布式社区的 Go 博客端节点系统,欢迎加入下一代社区网络。B3log distributed community blog-end node, welcome to join the next generation community network.
Stars: ✭ 169 (+38.52%)
Mutual labels:  pipe, markdown
Trickle
600 baud pipe and terminal.
Stars: ✭ 75 (-38.52%)
Mutual labels:  pipe, unix
pv
Unix Pipe Viewer (pv) utility in Node.js
Stars: ✭ 20 (-83.61%)
Mutual labels:  unix, pipe
Ipt
Interactive Pipe To: The Node.js cli interactive workflow
Stars: ✭ 783 (+541.8%)
Mutual labels:  pipe, unix
Notes
📝 Simple delightful note taking, with more unix and less lock-in.
Stars: ✭ 939 (+669.67%)
Mutual labels:  markdown, unix
Irccat
cat to IRC
Stars: ✭ 91 (-25.41%)
Mutual labels:  pipe, unix
Wp Gfm
WordPress Plugin for PHP-Markdown and GitHub Flavored Markdown
Stars: ✭ 117 (-4.1%)
Mutual labels:  markdown
Simple
The Simple Intelligent and Modular Programming Language and Environment
Stars: ✭ 120 (-1.64%)
Mutual labels:  unix
Mg
Micro (GNU) Emacs-like text editor ❤️ public-domain
Stars: ✭ 117 (-4.1%)
Mutual labels:  unix
React Antd Admin
后台前端管理系统,基于react、typescript、antd、dva及一些特别优秀的开源库实现
Stars: ✭ 117 (-4.1%)
Mutual labels:  markdown
Pamflet
a publishing application for short texts
Stars: ✭ 117 (-4.1%)
Mutual labels:  markdown
Flexmark Java
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
Stars: ✭ 1,673 (+1271.31%)
Mutual labels:  markdown
Patat
Terminal-based presentations using Pandoc
Stars: ✭ 1,725 (+1313.93%)
Mutual labels:  markdown
Markdownslides
MarkdownSlides is a Reveal.js and PDF slides generator from MARKDOWN files, that also generate HTML, EPUB and DOCX documents. The idea is that from a same MARKDOWN file we can get slides and books without worrying about style, just worrying about content.
Stars: ✭ 121 (-0.82%)
Mutual labels:  markdown
Mook
Markdown editor based on Electron and React
Stars: ✭ 117 (-4.1%)
Mutual labels:  markdown
Githubdocs
Easily build a searchable documentation app using markdown files in your Github Repo or local Markdown files.
Stars: ✭ 122 (+0%)
Mutual labels:  markdown
Wwdc Recap
A collection of session summaries in markdown format, from WWDC 20, 19 & 17
Stars: ✭ 121 (-0.82%)
Mutual labels:  markdown
Pspg
Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
Stars: ✭ 1,749 (+1333.61%)
Mutual labels:  pager
Unix Stream
Turn Java 8 Streams into Unix like pipelines
Stars: ✭ 119 (-2.46%)
Mutual labels:  unix

Lessmd

npm version Build Status Coverage Status dependencies Status devDependencies Status

asciicast

Lessmd is a terminal viewer/pager with markdown and piping support.

Why ?

  • It is a JavaScript
  • Minimal and fast
  • Unix like pager with navigation
  • Displays markdown with colors
  • Can translate markdown into colored output
  • Configurable user interface
  • Supports files and pipes
  • With livereload (watch filechanges)
  • Markdown theming support

Usage

Pager mode:

  lessmd README.md

Shortcuts:

  • q or ctrl+c exit

Piping with another programs:

  lessmd < README.md

To save some output into a file, which you can use as a motd or an issue files.

 echo "# welcome\n * do not touch anything \n * just press Ctrl+D" \
 | lessmd | tee /etc/motd

pipe example

Installation

  npm install -g lessmd

Configuration

Lessmd looks for user settings inside of a home directory, the filename is .lessmd.js.

Example of the .lessmd.js:

module.exports = {
  colors : {    /// markdown theming colors
    text : ,    
    lang : ,
    heading : ,
    code : ,
    quote : ,
    em : ,
    codespan : ,
    strong : ,
    html : ,
    del : ,
    link : ,
    hr : ,
    listitem :,
  },
  theme : {
    draw : false       // disable any ui (header and footer bars)
    text : '',         // text style
    strong : ''        // bold text style
  },
  headerfn : function() { return 'header'; }, // custom header fn,
  footerfn : function() { return 'footer'; }  // custom footer fn
};

ChangeLog

1.2.1

  • Dependencies update

1.2.0

  • Bug with long slices

1.1.0 - 2016-11-15

  • Html options for marked (sanityze, smartypants)
  • h,j,k,l bindings
  • Smaller chunks colorization for view mode

1.0.1 - 2016-11-03

  • Added original less keybindings

License

MIT (c) Svetlana Linuxenko

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].