cargo crowbook 0.4.0

latest releases: 0.16.1, 0.16.0, 0.15.2...
8 years ago
  • Crowbook now internally uses a true YAML parser, yaml_rust, for its
    options. Since the "old" Crowbooks's config format was similar, but
    had some subtle differences, this is somewhat of a breaking change:
    • strings should now be escaped with "" in some cases (e.g. if it
      contains special characters). On the other hand, it allows to
      optionally escape a string with these quotes, which wasn't
      possible until then and might be useful in some cases.
    • multiline strings now follow the YAML format, instead of the
      previous "YAML-ish" format. This can impact the way newlines are
      added at the end of a multiline string. See
      e.g. this link
      for the various ways to include mulitiline strings in Yaml.
  • Crowbook now parses YAML blocks (delimited by two lines with "---")
    in Markdown files, ignoring keys that it doesn't recognize. This
    allows crowbook to be compatible(-ish) with Markdown that contains
    YAML blocks for Jekyll or Pandoc.
  • New option --single allows to give Crowbook a single Markdown file
    (which can contain options within an inline YAML block) instead of a
    book configuration file. This is useful for e.g. short stories.
  • Enhanced the way debugging/warning/info messages are handled and
    displayed:
    • Added a --debug option to the binary.
    • Internal: added a Logger struct.
    • Different levels of information (debug/warning/info/error) get
      different colours.
  • Bugfixes:
    • Crowbook no longer crashes when called with the --to argument
      if it can't create a file.

Don't miss a new crowbook release

NewReleases is sending notifications on new releases.