A markdown lexer and parser which gives the programmer atomic control over markdown parsing to html

Version 0.2.0 A markdown lexer and parser which gives the developer atomic control over markdown parsing to html. Atomd first tokenizes the markdown with the lexer. Using the tokenized markdown, parsers for various different markup languages (HTML, XML, etc) are easier to implement, since it more or less becomes a game of find and replace. Install python3 -m pip install atomd Usage Functions in atomd.py called md2 ()combine the lexer and parser to provide an easier calling convention. In the […]

Read more

Provides syntax for Python-Markdown which allows for the inclusion of Markdown documents

This is an extension to Python-Markdown which provides an “include” function, similar to that found in LaTeX (and also the C pre-processor and Fortran). I originally wrote it for my FORD Fortran auto-documentation generator. Installation This module can now be installed using pip. pip install markdown-include Usage This module can be used in a program in the following way: import markdown html = markdown.markdown(source, extensions=[‘markdown_include.include’]) The syntax for use within your Markdown files is {!filename!}. This statement will be replaced […]

Read more

A Python implementation of John Gruber’s Markdown with Extension support

This is a Python implementation of John Gruber’s Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions. Documentation pip install markdown import markdown html = markdown.markdown(your_text_string) For more advanced installation and    

Read more

A fast and complete implementation of Markdown in Python

Markdown is a light text markup format and a processor to convert that to HTML. The originator describes it as follows: Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). — http://daringfireball.net/projects/markdown/ This (markdown2) is a fast and complete Python implementation of Markdown. It was written to closely match the behaviour of the original Perl-implemented Markdown.pl. Markdown2 also comes […]

Read more

A markdown extension for converting Leiden+ epigraphic text to TEI XML/HTML

$ pip install leidenmark A Python Markdown extension for converting Leiden+ epigraphic text to TEI XML/HTML. Inspired by the Brill plain text (BPT) format that aims to incorporate Leiden+ into a Markdown-based syntax. >>> from leidenmark import leiden_plus >>> content = “”” “”” >>> leiden_plus(content, indent=True) The output of the above lines is the following XML snippet: Lorem ipsum dolor sit amet, conc etur adipiscing ut labore et dol ore magna    

Read more

A Straightforward Markdown Journal with python

Pepys Pepys is a journaling application that utilises markdown for writing and storing the journal entries. Markdown Highlighting Pepys provides highlighting for key Markdown syntax in a clean and focus-driven design. Bold is bold, code is clear from text, and tags and urls don’t clutter your view. Inbuilt HTML Preview With a click of a button your markdown is rendered with links all clickable, images viewable, and even iframes are interactable. Markdown Shortcuts Pepys features tools to add tables and […]

Read more