Jonas Fassbender
0c6439faad
Enhanced wording for editable code blocks docs
2025-03-03 17:21:34 +01:00
Michael Howell
879449447f
feat(html): cache bust static files by adding hashes to file names
...
Closes rust-lang#1254
2025-02-13 10:39:22 -07:00
Eric Huss
89878519b4
docs: Switch the guide to use smart punctuation.
2024-05-13 13:43:04 -07:00
Eric Huss
c671c2e904
Merge pull request #2262 from Janik-Haag/master
...
Add nix to default languages
2024-04-12 15:27:31 +00:00
Janik H.
c9df8dd1f3
Add nix to default languages
2024-04-10 21:56:13 +02:00
Wil Wade
58a23e06a1
Fix incorrect theme documentation
...
The theme documentation for next and previous used name instead of title
2024-02-20 15:29:30 -05:00
Jacek Sieka
5c8941ba16
Add Nim to default languages
...
Nim is a systems programming language (included in the highlight.js
`system` group), and we're quite happily using `mdBook` in several of
our documentation projects starting with our [style
guide](https://status-im.github.io/nim-style-guide/ ).
While we can maintain our own highlight.js, including `Nim` in the
default distribution would allow us to promote more mdBook usage in the
Nim community at the cost of a ~2kb increase in the `highlight.js` size.
2023-11-08 15:34:35 +01:00
Jannik Obermann
7df1d8c838
Support hidden lines in languages other than Rust
...
Co-Authored-By: thecodewarrior <5467669+thecodewarrior@users.noreply.github.com>
2023-05-28 14:04:54 -07:00
Andreas Deininger
a2c88ae0f1
Convert links from http to https protocol
2023-04-02 21:35:08 +02:00
Eric Huss
c2d973997a
Make fonts part of the theme.
2023-01-15 11:42:46 -08:00
Eric Huss
f2fba30786
Update documentation
2021-12-19 20:26:37 -08:00
josh rotenberg
191dccab10
fix typo
2021-12-06 08:06:07 -08:00
Eric Huss
68d8ceec47
Revert #1597 - Update to highlight.js 11.0.
2021-08-02 08:02:13 -07:00
Eric Huss
6dd785ea6c
Update to highlight.js 11.0.
2021-07-26 12:40:28 -07:00
josh rotenberg
aa4cb9465f
restructure guide configuration section
...
restructure guide configuration section
restructure guide configuration section
redirect to new config top level
fix broken links
use a relative path for redirect
Co-authored-by: Eric Huss <eric@huss.org>
remove extra heading
2021-05-25 07:43:36 -07:00
Andrea Gelmini
b364e8ea2c
Fix typos ( #1540 )
...
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2021-05-21 12:56:32 +02:00
Daniel Eades
90396c5b76
fix small typos on 'syntax-highlighting' page
2021-01-30 08:11:45 +00:00
Eric Huss
3d55375f61
Update theme CSS docs. ( #1431 )
2021-01-07 01:56:20 +01:00
Maxime BORGES
6201e577fe
[guide/format/theme/index-hbs] chapter_title and book_title are inverted
...
Looking into the code, we can confirm that the implementation is `{{ chapter_title }} - {{ book_title }}` and not `{{ book_title }} - {{ chapter_title }}` as written in the guide:
4c951d530d/src/renderer/html_handlebars/hbs_renderer.rs (L69)
2020-12-22 22:36:58 +01:00
Camelid
4c951d530d
List supported Highlight.js languages in guide ( #1345 )
...
* List supported Highlight.js languages in guide
Generated using the technique described in
https://github.com/rust-lang/mdBook/issues/1275#issuecomment-655903967 .
* Improve wording in guide
2020-09-30 01:56:31 +02:00
Camelid
b77942d3c8
Rename book-example to guide ( #1336 )
...
`book-example` is a bit of a strange name given that it's not just an
example.
2020-09-23 03:16:09 +02:00