Skip to content

Releases: peopledoc/styledown

v5.0.0

13 Dec 12:31
Compare
Choose a tag to compare

Breaking changes

  • Drop node 10 support (#162)

Chores

CI

  • New workflow to auto-update list of contributors by @MrChocolatine in #150
  • Auto-update list of contributors by @github-actions in #153

Docs

Dependabot

New Contributors

  • @GreatWizard made their first contribution in #152
  • @github-actions made their first contribution in #153

Full Changelog: v4.1.0...v5.0.0

v4.1.0

26 May 10:37
Compare
Choose a tag to compare

Update dependencies

Changelog from v4.0.0 to v4.1.0:
v4.0.0...v4.1.0

v4.0.0

03 Mar 08:42
Compare
Choose a tag to compare

Potential breaking change : Update Marked (markdown parser) to version 2.0.1

v3.0.2

02 Oct 14:05
Compare
Choose a tag to compare
Release 3.0.2

v3.0.1

02 Oct 12:45
dcd34e5
Compare
Choose a tag to compare
Merge pull request #67 from peopledoc/release/3.0.1

Release 3.0.1

v3.0.0

02 Oct 08:48
9c64e03
Compare
Choose a tag to compare

Breaking change

Deploy on Github registry (#63)

Ref(s): JS-423

styledown is now deployed on Github registry under @peopledoc/ scope.

Change all the import from styledown to @peopledoc/styledown.

Feat

Beautify HTML output using prettier

Currently, the HTML generated for the code sample using PUG is not very readable.
Here's what it looks like for a button group.
Capture
This is because PUG has been designed to generate HTML that works and that's all (they have no intention an adding a beautify feature).

In a documentation code samples should be as readable as possible to help the reader. There's already a beautifier included (https://beautifier.io/) but for some reason, it's not working correctly. This is why we've decided to replace it with prettier which works and can make the code sample more readable.
Here's the same example as before but beautified with prettier.
Screenshot_20200925_114307

Limit code sample boxes width

Styledown CSS has been updated to limit the width of the code boxes to 500px max. This is to prevent them from taking to much space on documentation pages

Build

Use Github actions as CI instead of CircleCI

v2.1.0

25 Sep 13:12
2da3b07
Compare
Choose a tag to compare

Feat

Beautify HTML output using prettier

Currently, the HTML generated for the code sample using PUG is not very readable.
Here's what it looks like for a button group.
Capture
This is because PUG has been designed to generate HTML that works and that's all (they have no intention an adding a beautify feature).

In a documentation code samples should be as readable as possible to help the reader. There's already a beautifier included (https://beautifier.io/) but for some reason, it's not working correctly. This is why we've decided to replace it with prettier which works and can make the code sample more readable.
Here's the same example as before but beautified with prettier.
Screenshot_20200925_114307

Limit code sample boxes width

Styledown CSS has been updated to limit the width of the code boxes to 500px max. This is to prevent them from taking to much space on documentation pages

v2.0.2

13 May 09:22
Compare
Choose a tag to compare

Fix set Pug to generate valid HTML

v2.0.0

16 Apr 12:32
46a838c
Compare
Choose a tag to compare

Breaking change ⚠️

  • It's no longer possible to use Styledown after a pipe |. (#22)
  • Styledown build for browsers is no longer available. (#20)
  • Styledown.js has drop support for ie<9. (#21)

Feature 🚀

  • Calling Styledown command alone will now display the help message. (#22)
  • It's now possible to use Pug include statement to include external templates at build time. (#19)

Improvements 🧰

  • The hide/reveal button has an accessible label now (#21)
  • The hide/reveal button hove/focus effect has been improved (#21)
  • The highlight colors have been updated to improve color contrast. (#21)
  • Styledown JS and CSS are now inlined in the default config. (#21)