Skip to content

v2.0.0

Compare
Choose a tag to compare
@h3rald h3rald released this 31 Aug 18:53

This a new major release as it includes quite a few high-impact changes that may be considered breaking changes.

Breaking Changes

  • HastyScribe no longer embeds any web font in generated documents. As a result, generated HTML documents are considerably smaller in size.
  • Removed possibility of dumping stylesheets via the --dump option. If you want to reuse HastyScribe styles, see the HastyStyles project.
  • Badge classes must now start with badge-.
  • There is no special badge/class to display the HastyScribe logo.

Removed badges

The following badges have been removed, mainly because they did not need to have a specific colors (and it is therefore possible to use fa- classes directly):

  • All payment and currency badges
  • red-circle
  • yellow-circle
  • green-circle
  • green-flag
  • yellow-flag
  • red-flag (renamed to flag)
  • gray-circle
  • copyright
  • registered
  • trademark
  • wifi
  • signal
  • circle
  • phone
  • barcode
  • envelope
  • fax
  • print
  • usb
  • globe
  • desktop
  • laptop
  • mobile
  • tablet

New Functionalities

  • Implemented support for footnotes (#77)
  • Implemented support for HTML details and summary elements (#87)
  • Added --noemebed option to prevent embedding of resources (but still generate a document, unlike with the --fragment option.
  • Upgraded to Discount v2.2.7d.
  • Upgraded to use FontAwesome v6.4.2 SVG icons
  • Specific rules to display icons are automatically added to the document based on usage for:
    • badges
    • icons
    • notes
    • links

New link icons

The following link icons have been added:

  • slack
  • discord
  • codepen
  • etsy
  • stack-exchange
  • mastodon
  • file-zipper
  • file-pdf

New badges

The following new badges have been added:

  • flag
  • address
  • toxic
  • download
  • upload
  • network
  • org
  • code
  • react
  • angular
  • vuejs
  • ubuntu
  • suse
  • rust
  • redhat
  • rpi
  • markdown
  • go
  • fedora
  • debian
  • centos

Updated badges

The following textual badges have now been converted to display an icon instead:

  • fixme → red wrench
  • urgent → red stopwatch
  • draftcomment → green comments
  • todo → red clipboard-check
  • verify → red shield halved
  • deadline → red timeline