mdBook
mdBook copied to clipboard
Multiple spaces in inline code are getting converted to single space
It would be nice if spaces are preserved as is in inline code. For example, the line below in GitHub
Spacing in inline code `printf 'apple banana\n'`
will be rendered as shown below:

Here's a sample test case with mdBook:
$ mdbook --version
mdbook v0.4.25
$ mdbook init test-book
$ cd test-book/
$ cat src/chapter_1.md
# Chapter 1
Spacing in inline code `printf 'apple banana\n'`
$ mdbook serve
The above test produces this for me:

Note: This is accomplished with white-space: break-spaces;