Releases: UrbanMonastics/Source-Text-Parser
Releases · UrbanMonastics/Source-Text-Parser
v1.0.0
This release makes the Source Text Parser feature complete! With this update the Source Text Parser has added:
- Support for PHP 8.1, 8.2, 8.3, 8.4 and up
- Updated PHPUnit to version 11
- Added support for Line Wrapping (setWrapLines( true )) that will wrap each line in its own div tag, and includes classes .paragraph-start .paragraph-end .indent .indent-x2
- Refactored setSmallCapsText( 'lord' ) to receive text instead of a boolean value. This now looks for the exact term instead of any all-caps string longer than 3 chars to mark as AllCaps.
- Fixed a mistake in the Responsory formating where the middle responses included the portion before the midpoint.
- Updates to the ReadMe
v0.4.4
v0.4.3
v0.4.2
v0.4.1 - Refocus on Text Parsing
We have made the decision to split the library into two pieces. This one will focus on the extended markdown parsing, while the other will manage the various libraries of texts that are included, and finding the correct text/version/section to parse.
v0.4 - Renamed Library and Namespace
This is a breaking change. The library and namespace have been renamed to SourceTextParser
The composer project has also been updated
composer require UrbanMonastics/SourceTextParserExample of usage with new naming
$SourceTextParser = new /UrbanMonastics/SourceTextParser();
echo $SourceTextParser->text("Hello *Source Parser*!"); # prints: <p>Hello <em>Source Parser</em>!</p>