No description
previous implementation used `:not(.fd) + .fd` and `.fd + :not(.fd)`. the latter selector caused many problems: - it doesn't select footnote defs which are last children (this can be easily triggered in a blockquote) - it changes the margin of the next sibling, rather than the footnote def itself, which can also *shrink* margin for elements with big margins (this happens to headings) - because it applies to the next sibling it is also quite hard to override in user styles, since it may apply to any element this commit replaces the latter selector with `:not(:has(+ .fd))`, which fixes all of the mentioned problems. |
||
|---|---|---|
| .github | ||
| ci | ||
| examples | ||
| guide | ||
| src | ||
| test_book | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| release.toml | ||
| triagebot.toml | ||
mdBook
mdBook is a utility to create modern online books from Markdown files.
Check out the User Guide for a list of features and installation and usage information. The User Guide also serves as a demonstration to showcase what a book looks like.
If you are interested in contributing to the development of mdBook, check out the Contribution Guide.
License
All the code in this repository is released under the Mozilla Public License v2.0, for more information take a look at the LICENSE file.