Skip to content

lukeparser/lukeparser

Repository files navigation

Luke, I'm Your Parser.

python-3 badge python-3 badge wheel Build & Deploy

The Style of Markdown with the Power of LaTeX.

Powered by blazing fast Bison/Flex and magnificent & extensible Python3.

Features

Did you ever missed these functions in Markdown?

  • variables and custom commands in Markdown - in Math- and in Textmode?
  • additional parameters for each component for more variation and control?
  • custom styles - you can also use different styles in the same document
  • the choice to compile to LaTeX or HTML - or both at the same time?
  • references across files?
  • a easy searchable representation of chapters, images, and other components of your documents
  • component nesting using indentation, e.g. sections in lists
    • we use an automatic indentation-style detection (spaces or tabs)
  • Notes and Footnotes in a seperate file or part of your document.
  • nested multiline comments
  • an inplace server for live parsing of markdown files as a replacement for simple php

Getting Started

Documentation
Read the Documentation online..

Install (Linux, Windows & OS X)

pip install lukeparser

Start a live reload server anywhere

luke --live

Usage example

luke file.md

For more examples and usage, please see our docs.

Contributing

  1. Fork it (https://github.com/lukeparser/lukeparser/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

Code: License: GPL v2
Language Definition: License: MIT
© 2019 David Hartmann. With the exceptions noted below, this code is released under the GPL, version 2. This software carries no warranty of any kind. The language specification and the documentation, written in the luke markdown dialect are licensed under the MIT license.