GithubHelp home page GithubHelp logo

vrai / gfmviewer-wx Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 292 KB

Converts a Github Flavoured Markdown file in to HTML and displays it in a wxPython window. Changes to the source file automatically update the HTML display.

License: GNU General Public License v2.0

Python 100.00%

gfmviewer-wx's Introduction

gfmviewer-wx : Github Flavour Markdown viewer for wxPython

The gfmviewer script converts a Github Flavoured Markdown file in to HTML and displays it using wxPython. The conversion is done using the Github API and so requires an active Internet connection. Changes to the source file will automatically update the HTML display.

By default a proper file notification library will be used to watch the file. However if this is not available - or it is explicitly disabled with the --poll option - the file's modification time will be checked once a second. Any change to said time will be considered a modification and trigger an HTML update.

gfmviewer screenshot

Usage

Usage information can be displayed using the -h or --help arguments. These are:

gfmviewer [-h] [-f] [-p] [FILE]

positional arguments:
  FILE        markdown file to display

optional arguments:
  -h, --help  show this help message and exit
  -f, --fork  fork a copy of the process in to the background and then
              return immediately (leaving the background process running)
  -p, --poll  always poll for file changes, even if file notification is
              available

Install

Installation instructions can be found in the INSTALL file.

Updates and license

The latest version of this script can be downloaded from Github:

https://github.com/vrai/gfmviewer-wx

The gfmviewer is free software and is licensed under version 2 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see the LICENSE file); if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


Copyright 2013 Vrai Stacey [email protected]

gfmviewer-wx's People

Contributors

vrai avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.