Version History
Note
All versions of documentation are left in the condition in which they were generated. At times, the navigation may look different than expected.
In an effort to keep history of all the documentation for SnakeMD, we’ve included all old versions below as follows:
v2.x
v2.4.1 [#183]
Reduce logging noise by using logging.debug instead of logging.info in snamemd.document
v2.4.0 [#174, #175, #178, #179, #180, #181]
Fixed an issue where quotes would crash when inline elements were provided as input
Added the alerts feature as a new template
Added the checklist feature to templates
Deprecated the
checkedparameter inMDListAdded a handful of convenience methods to the document API to expose the new templates
Dropped support for Python 3.9 due to deprecation
Added supported for Python 3.14
Added new templates to docs
Updated a variety of developmental dependencies
v2.4.0b1 [#171]
Upgraded Poetry file format to 2.x
Added
breakline()andunbreakline()methodsFixed issue where inserting a link in a paragraph would strip styles
v2.3.0 [#168]
Added a line break option to Inline text to grant a little more control over formatting
v2.2.1 [#164]
Fixed a bug where headings with special characters would not link properly in the table of contents
Dropped support for Python 3.8 due to deprecation
Added support for Python 3.12 and 3.13
-
Added documentation throughout the repo
Expanded testing
Added CSVTable Template and accompanying documentation
v2.2.0b1 [#140, #142, #143, #144, #145, #146, #149]
Expanded the Element requirements to include
__repr__()for developer friendly stringsReworked logging system to take advantage of lazy loading and new
__repr__()methodsExpanded testing to verify the
__repr__()strings can be used as Python codeAdded a handful of getter methods to dissuade folks from using protected members of classes
Fixed jQuery issues in documentation
Incorporated linting (specifically pylint) in development workflow
Updated changelog string for consistency on PyPI
Introduced concept of lazy loading for templates to allow for processing of document contents at render time
Broke existing behavior of a handful of utilities:
Changed the
dirparameter todirectoryfordump()method ofDocumentto eliminate shadowing of built-indirRemoved
docparameter ofTableOfContentsconstructor in preference of new lazy loading system of templates
v2.1.0 [#136]
Migrated build system from setup.py to poetry
v2.0.0 [#131]
Setup code for 2023-04-14 release
See beta releases below for the bulk of the changes
-
Converted all code snippets in docs to doctests
Reworked string input for
Quoteto pass directly through rawUpdated language around parameters in documentation to provide a list of possible inputs and their effects
Replaced
urlparameter withlinkparameter ininsert_link()method ofParagraph
v2.0.0b1 [#104, #107, #108, #110, #113, #115, #118, #120, #122, #123, #125, #126]
Removed several deprecated items:
Classes
MDCheckListCheckBoxVerification
Methods
Document.add_element()Document.add_header()Document.check_for_errors()Inline.verify_url()Paragraph.verify_urls()Paragaph.is_text()
Parameters
namefromnew_docandDocumentcodeandlangfromParagraphquotefromParagaphrender()andverify()from the entire repository
Replaced several deprecated items:
Classes
InlinereplacesInlineTextHeadingreplacesHeader
Methods
Inline.is_link()replacesInline.is_url()Document.dump()replacesDocument.output_page()
Parameters
linkreplacesurlinInline
Added several new features:
Included a
Quoteblock which allows for quote nestingIncorporated
ValueErrorexceptions in various class constructorsStarted a resources page in documentation
Created a requirements file at the root of the repo to aid in development
Improved various aspects of the repo:
Expanded testing to 163 tests for 100% coverage
Clarified design of
Inlineto highlight precedenceCleaned up documentation of pre-release version directives
Expanded types of inputs on various classes for quality of life
Changed behavior of horizontal rule to avoid clashes with list items
Fixed bugs in logs and expanded logging capabilities
Standardized docstring formatting
Updated README automation to use latest features
Note
The gap between v0.x and v2.x is not a mistake. Initial development of SnakeMD used v1.x versions, which contaminated the PyPI repository. To avoid failed releases due to version clashes, all v1.x versions have been deleted, and the project has jumped straight to v2.x. Consider v2.x to be the official release of the module. Anything prior to v2.x is considered a pre-release.
v0.x
-
Moved README generation code to repo root as a script
Expanded Heading constructor to support list of strings and Inline objects
Migrated code block support from Paragraph class into new Code class
v0.14.0 [#84, #86, #89, #90, #91, #95]
Added Raw block for user formatted text
Replaced InlineText with Inline
Added Block and Inline classes
Deprecated MDCheckList and CheckBox
Replaced render with bulit-in str method
v0.13.0 [#71, #74, #76, #78, #80, #82]
Created a replacement method for output_page called dump
Renamed Header class to Heading
Included deprecation warnings for both output_page and header as well as others affected
-
Added support for table indentation
v0.10.1 [#59]
Enforced UTF-8 encoding in the output_page method (#54)
-
Added the CheckBox class for creating checkboxes
Added the MDCheckList class for creating lists of checkboxes
Added a Document method for implementing easy checklists
Updated README to include a new section on checklists
-
Added multiple versions of Python testing
Restricted package to Python version 3.8+
Added Markdown linting for main README
v0.8.1
Fixed an issue where nested lists did not render correctly
v0.8.0
Added range feature to Table of Contents (#41)
v0.7.0
Added replace_link() method to Paragraph
Added various state methods to InlineText
Expanded testing
Lowered log level to INFO for verify URL errors
Added code coverage to build
v0.6.0
Restructured api, so snakemd is the import module
Updated usage page to show more features
Fixed issue where base docs link would reroute to index.html directly
v0.5.0
Added favicon to docs (#26)
Added mass URL verification function to Paragraph class (#27)
Expanded testing to ensure code works as expected
Changed behavior of insert_link() to mimic str.replace() (#19)
Added a replace method to Paragraph (#27)
Added plausible tracking to latest version of docs (#25)
v0.4.1
Added support for Python logging library (#22)
Expanded support for strings in the Header, Paragraph, and MDList classes
Fixed an issue where Paragraphs would sometimes render unexpected spaces (#23)
Added GitHub links to version history page
Added support for column alignment on tables (#4)
Fixed issue where tables sometimes wouldn’t pretty print properly (#5)
v0.3.0 [#21]
Gave documentation a major overhaul
Added support for paragraphs in MDList
Added is_text() method to Paragraph
Fixed issue where punctuation sometimes rendered with an extra space in front
v0.2.0 [#17]
Added support for horizontal rules
Added automated testing through PyTest and GitHub Actions
Added document verification services
Added documentation link to README as well as info about installing the package
Fixed table of contents single render problem
Added a feature which allows users to insert links in existing paragraphs
v0.1.0
Added support for links, lists, images, tables, code blocks, and quotes
Added a table of contents feature