add an example for custom css
This commit is contained in:
parent
911683d2cf
commit
9dca3cd299
|
@ -3,4 +3,5 @@ description = "Create book from markdown files. Like Gitbook but implemented in
|
||||||
author = "Mathieu David"
|
author = "Mathieu David"
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
mathjax-support = true
|
additional-css = ["my_custom.css"]
|
||||||
|
mathjax-support = true
|
||||||
|
|
|
@ -16,9 +16,11 @@ description = "The example book covers examples."
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
destination = "my-example-book"
|
destination = "my-example-book"
|
||||||
additional-css = ["custom.css"]
|
additional-css = ["my_custom.css"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<div class="custom_border">Formatting elements with custom css.</div>
|
||||||
|
|
||||||
## Supported configuration options
|
## Supported configuration options
|
||||||
|
|
||||||
It is important to note that **any** relative path specified in the in the configuration will
|
It is important to note that **any** relative path specified in the in the configuration will
|
||||||
|
|
|
@ -11,3 +11,4 @@ If you have contributed to mdBook and I forgot to add you, don't hesitate to add
|
||||||
- Wayne Nilsen ([waynenilsen](https://github.com/waynenilsen))
|
- Wayne Nilsen ([waynenilsen](https://github.com/waynenilsen))
|
||||||
- [funnkill](https://github.com/funkill)
|
- [funnkill](https://github.com/funkill)
|
||||||
- Fu Gangqiang ([FuGangqiang](https://github.com/FuGangqiang))
|
- Fu Gangqiang ([FuGangqiang](https://github.com/FuGangqiang))
|
||||||
|
- Stefan Schindler ([dns2utf8](https://github.com/dns2utf8))
|
||||||
|
|
Loading…
Reference in New Issue