Skip to content

Releases: rust-lang/mdBook

v0.0.6

03 Jan 13:14
Compare
Choose a tag to compare

Change Log

New Features

  • It is now possible to load rust files that are runnable with this syntax: {{#playpen file.rs}}. They will appear as normal code blocks but will have a play button to run them.
  • Anchors for headings now have an href attribute, this means that now when you click a heading you will be redirected to that anchor AND you will see the url to the anchor in the url bar. This was not the case before.
  • pulldown-cmark has been updated, tables and footnotes are now supported
  • blockquotes have been styled and can now be used as asides for example

Bug Fixes

  • Fix bug where # characters (used to hide rust code lines) where not removed if they were not the very first character of the line
  • Remove the temporary copy of Path_Ext, use the version from STD that has been stabilized
  • the std function fs::create_dir_all does the same thing as create_path but better. Is that instead and remove create_path. This resolves a bug where weird things would happen if you gave a path with .. in it.

v0.0.5

30 Dec 16:23
Compare
Choose a tag to compare

Change Log

Bug Fixes

  • When navigating with the arrow keys, check if there is a next / previous page to avoid undefined > page not found

It's a pretty annoying bug, so I want to publish the new version now..

v0.0.4

30 Dec 16:01
Compare
Choose a tag to compare

Change Log

New Features

  • You can now use inline code blocks in the sidebar #70
  • The watch sub-command has been implemented. Run mdbook watch #61
  • Handlebars dependency was updated #68
  • Arrow keys can now be used to navigate #87
  • Rust code snippets can have hidden lines by prepending with # #73
  • Rust code snippets can be tested with Rustdoc by using mdbook test #69
  • All section headings have now anchors with the name of the heading #72

Style Fixes

  • Consecutive headings are now closer to each other, while headings after a paragraph (and other elements) have a good margin #83

Bug Fixes

  • Bug has been fixed where the index.html would have no line breaks #76
  • Dark themes don't transform inline code to code blocks anymore #74

v0.0.3

11 Dec 20:47
Compare
Choose a tag to compare

v0.0.2 uploaded to crates.io didn't compile anymore because dependency versions were not specified, this version fixes that.

v0.0.2

24 Sep 21:29
Compare
Choose a tag to compare

v0.0.1

11 Aug 08:55
Compare
Choose a tag to compare