Mynt

Latest version: v0.4

Safety actively analyzes 619516 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.3.1

+ __Changed__
+ Removed the `<hr>` from and added classes to the outputted markup for Markdown footnotes.
+ Tag data is now stored in an object instead of a dictionary.

0.3

+ __New__
+ A mechanism for defining content containers.
+ Two new filters for the Jinja renderer, `items` and `values`, that act as syntactic sugar for `iteritems()` and `itervalues()`.
+ A reStructuredText parser.
+ Two new `item` properties, `prev` and `next`, that store the previous and next items in the container.
+ Files outside of ignored directories will now be parsed if a parser is available.
+ Two config settings for controlling how posts are sorted: `posts_order` and `posts_sort`.
+ __Changed__
+ Global and local dictionaries no longer behave different from ordinary Python dictionaries when iterating over them.
+ The `archives` and `tags` globals are now properties of the `posts` global to maintain consistency between content containers.
+ The `post` local has been renamed `item` to maintain consistency between content containers.
+ The `<title>` variable in URL formats has been renamed to `<slug>`.
+ Frontmatter attributes that contain string values can now be used in URL formats.
+ The `markup` and `parser` config settings have been removed.
+ Which parser used is now determined by _(in order of precedence)_ the `parser` frontmatter attribute, the `parser` container config setting, and lastly the file extension.
+ In Markdown, the bracket fenced code block syntax is no longer supported.
+ The `layout` frontmatter attribute can now be set to `None` to skip rendering.

0.2.3

+ __New__
+ A new default theme with dark (default) and light versions.
+ A config setting for specifying directories and files to be copied over that would otherwise be ignored.
+ Localization and internationalization support.
+ __Changed__
+ The programming language of a code block is now stored in the `data-lang` attribute of the `<code>` tag instead of the `lang` attribute of the `<pre>` tag.
+ Tildes are no longer allowed in post slugs.
+ The `watch` subcommand now honors the configured log level.
+ __Upgraded__
+ Jinja 2.7
+ __Fixed__
+ A bug in the handling of log messages in the `serve` subcommand.
+ A bug in the misaka parser with SmartyPants.
+ A bug in the `serve` subcommand when handling paths containing Unicode characters.
+ A bug in the `watch` subcommand when a file is moved into the directory that is being watched.
+ A bug when handling an empty config file.

0.2.2

+ __Upgraded__
+ misaka 1.0.2
+ __Fixed__
+ A bug in the `absolutize` filter of the Jinja renderer.
+ A bug in the `get_url` template helper where it was appending a forward slash when it shouldn't.

0.2.1

+ __Fixed__
+ The default theme not getting installed.

0.2

+ __New__
+ An archive property is now available for tags in the tags global.
+ A default theme.
+ Four new subcommands: `init`, `gen`, `watch`, and `serve`.
+ __Changed__
+ Archive years and tag names are always available in their respective globals.
+ When the destination already exists on generation, it is now emptied by default instead of deleted.
+ Generation is now done via the `gen` subcommand.
+ __Fixed__
+ A bug when retrieving the URL for an archive page.
+ A regression in the misaka renderer when generating semantic identifiers.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.