Tags: ZoomTen/MDiocre
Tags
Release 3.5 of MDiocre. 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`.
Release 3.3 of MDiocre. What's new? ----------- * Math expressions are removed, as there is very little use for them. * You can define custom function calls using Python, with the `using` keyword. This will EXECUTE raw Python from a file, so use it at your own discretion! See the 3.3.dev0 changelog for more information. * The much-needed `include` keyword arrives. This will include a file relative to the source directory as if it was pasted right into the currently processed file. * Some amount of error handling is built into the core/wizard now, and will simply copy the file if an error were to occur.
PreviousNext