Releases: rust-lang/mdBook
Releases · rust-lang/mdBook
v0.0.6
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 ascreate_path
but better. Is that instead and removecreate_path
. This resolves a bug where weird things would happen if you gave a path with..
in it.
v0.0.5
v0.0.4
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