Skip to content

Releases: Mistralys/markdown-viewer

Include filtering

04 Jul 08:17
Compare
Choose a tag to compare

Included in this release:

  • Parser: Added possibility to filter the content of included files.
  • Dependencies: Minimum AppUtils version increased to v2.3.4.
  • Core: Tested clean on PHP8.2.

Include configuration update (Breaking)

03 Jul 10:42
Compare
Choose a tag to compare

Included in this release:

  • UI: Removed list of file numbers used for testing.
  • Parser: Modified include behavior to require setting allowed paths.
  • Parser: Increases security by disallowing including from outside allowed paths.
  • Manager: Added include paths via DocsManager::addIncludePath().
  • Manager: Added the DocsConfig class to handle configuration options.

Breaking changes

  • Include files are no longer relative to the document, but to the
    configured include paths.
  • Include paths must be set via the new DocsConfig class instead
    of the parser class.

Include files and UI update

03 Jul 06:47
Compare
Choose a tag to compare

Included in this release:

  • Syntax: Added the {include-file} command to include external files.
  • UI: Improved readability, max content size to improve text flow.
  • UI: Fixed the list dropdown not scrolling with many files.
  • UI: Started adding localization support.
  • Parser: Added option to specify allowed extensions for include files.
  • Parser: Added option to set max include file size.
  • Unit Tests: Added first unit tests.

PHP 7.4 and bugfix release.

30 Mar 06:12
Compare
Choose a tag to compare

Included in this release:

  • Now requiring PHP >= 7.4.
  • Fixed a PHP error when a document contains no headers.
  • Added the changelog.md file.

Maintenance release.

24 Mar 15:17
Compare
Choose a tag to compare

Fixed PHP7.3 compatibility by removing PHP7.4 specific typed properties.

Minor improvements release.

18 Mar 16:39
Compare
Choose a tag to compare

Included in this release:

  • Fixed duplicate anchor names.
  • Added fenced code name aliases to support js, json or html.
  • Reduced PHP requirement to 7.3 to support some older projects.

Bugfix release.

18 Mar 15:58
Compare
Choose a tag to compare

Fixed code fences other than PHP not being recognized correctly, causing overlapping code blocks.

Minor feature release.

16 Mar 21:50
Compare
Choose a tag to compare

Included in this release:

  • Added the dark mode layout.
  • Added the optional file IDs for consistent permalinks.
  • Added permalink icons to all headers.

Minor feature release.

16 Mar 06:06
Compare
Choose a tag to compare

Included in this release:

  • Added the viewer's addFolder() method.
  • Added dark mode support.
  • Fixed indented "1)" style bullets not being detected properly.

Layout tweaks release.

15 Mar 17:34
Compare
Choose a tag to compare

Included in this release:

  • Tweaked the sidebar padding slightly.
  • Added setMenuLabel() to the viewer.
  • Changed the documents menu label to "Available documents".