Skip to content

v3.5

@ZoomTen ZoomTen tagged this 29 Jun 12:36
What's new?
-----------

* Rough support for relative links in Gemtext parser.

* Supports TypeScript compilation of individual files through `tsc`.

  Known limitations:
    * You cannot use modules (import, export, require, etc.)
	* However, you can use references to "include" type definitions
	  like so: `/// <reference types="../MyTypes" />`
	  (without the file extensions)

* Redirecting logs are now made a little better.

* More changes to how the Wizard reports stuff.

* A basic plugin system is now supported. As a result:
    * Passing a parser name (string) into `switch_parser()` is only
	  limited to internal parsers, and as such this way of switching
	  parsers is considered deprecated.
	* `switch_parser()` should be used with classes (not instances of
	  classes) derived from BaseParser.
	* Every parser has a `FILETYPES` array that contains which file extensions
	  will be supported by the parser.
	* The wizard will detect internal parsers *as well as* parsers from modules
	  that start with `mdiocre_`.
	* Whichever `mdiocre_` module that implements a parser should have it
	  under a folder named `parsers`, e.g. for a `txt` parser for plain
	  text files, it should be under mdiocre_txt.parsers.txt, and its class
	  should be `TxtParser`.
Assets 2
Loading