Menu

Tree [31e5ff] master /
 History

HTTPS access


File Date Author Commit
 .github 2021-05-20 ag88 ag88 [1abc19] initial commit
 .mvn 2021-05-21 ag88 ag88 [7513ee] add missing .mvn needed for mvnw
 src 2021-05-21 ag88 ag88 [569a68] added print
 web 2021-05-20 ag88 ag88 [1abc19] initial commit
 .gitignore 2021-05-20 ag88 ag88 [1abc19] initial commit
 LICENSE.txt 2021-05-21 ag88 ag88 [97fbd9] update README.md
 README.md 2021-05-22 ag88 ag88 [31e5ff] update README.md
 mvnw 2021-05-20 ag88 ag88 [1abc19] initial commit
 mvnw.cmd 2021-05-20 ag88 ag88 [1abc19] initial commit
 pom.xml 2021-05-20 ag88 ag88 [1abc19] initial commit

Read Me

Markdown   Markdown Viewer


This is a Markdown viewer for java. Primarily it tries to display github styled markdown scripts.

example

Features

  • HTML and text export
  • Print (this may allow PDF export using some apps/utilities)
  • Github styled tables

Run

Download the release jar file and run

java -jar jmdviewer-x.y.jar

where x.y is the version number. You can pass the markdown filename on the command line

java -jar jmdviewer-x.y.jar [filename.md]

Build

In linux/osx/un*x:

mvnw clean package

in windows:

mvnw.cmd clean package

The built jar file is in the target folder.

Pre-requisites

Java >= 1.8

Notes / limitations

  • Rendering of images and other html features is based on available features in Java
    Swing. This generally support image formats such as jpg, png and gif. Unsupported image formats would be rendered with a broken image icon.

Attributions

License

This application is licensed under MIT license:
Copyright (c) 2021 Andrew Goh

Various sub-license for Commonmark-java and resources used is
appended in LICENSE.txt

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Origin

github repository:
https://github.com/ag88/jmdviewer

Developing this has taken quite some effort mainly in getting it to work and rather extensive tests. if you use this app and found it useful, i'd really appreciate it if you could support my efforts Donate.
you could also help simply starring this repository ;)

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.