mandown - man-page inspired Markdown viewer

栏目: IT技术 · 发布时间: 4年前

内容简介:A man-page inspired Markdown pager written in C.Considering to change the name in later release.Need to lookup things from README? Or from manual page? Or perhaps just want to install something cool... (

mandown

A man-page inspired Markdown pager written in C.

Considering to change the name in later release.

What is it

Need to lookup things from README? Or from manual page? Or perhaps just want to install something cool... ( Looking for work buddies )

Update

Line Wrapnow reacts to terminal resize events.

Sample

mandown - man-page inspired Markdown viewer

  • This is nested list
    • :blush: is rendered
      • So is :new_moon_with_face: :full_moon: :waning_gibbous_moon: :last_quarter_moon: :waning_crescent_moon: :new_moon: :waxing_crescent_moon: :first_quarter_moon: :moon:
        • It is :fire:
          • Me right now :skull:

This is

underline

This is italic

This is bold

This is a key

Can you see this strikethrough or this

strikethrough

?

This is a code block

Install

Current version is incomplete. However, it should work on simpler Markdown documents.

The Ncurses UI is still being developed for different HTML tags.

$ git clone https://github.com/Titor8115/mandown.git
$ cd mandown
$ make

Usage

$ cd mandown
$ ./mandown README.md

Mouse wheel scrolling is supported! (if your terminal emulator allows)

Scroll Up: , k , BACKSPACE

Scroll Down: , j , ENTER

Exit: q

if it compiles but doesn't run, try updating your ncurses library.

$ apt-get install libncursesw5-dev libxml2-dev

Todo

  • Format

  • Command-line

  • Ncurses


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

HTML5

HTML5

Matthew David / Focal Press / 2010-07-29 / USD 39.95

Implement the powerful new multimedia and interactive capabilities offered by HTML5, including style control tools, illustration tools, video, audio, and rich media solutions. Understand how HTML5 is ......一起来看看 《HTML5》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具